Forum Discussion
Romel_77740
Nimbostratus
Apr 27, 2008irule timing: how to convert Cycles to Seconds
One of the irule tutorials states that if "timing on" argument is set on "when", the irule statistics tab will show the timing information. I do not see any irule statistics tab on irule editor, and on the bigIP GUI irule statistics, I do not see any timing information. The statistics only show Total executions, failures and Aborts. So I assume this is an incorrect statement in the tutorial.
Now tutorial also shows the command that can be applied to show timing. This does work and a sample shown below. But the timing is in cycles. WHat is the relationship between timing in cpu cycles to Seconds (which is what a human will want to see as) ?
b rule sbcuachandle2 show all
RULE sbcuachandle2
+-> CLIENT_ACCEPTED 10 total 0 fail 0 abort
| Cycles (min, avg, max) = (40435, 83870, 148659)
- NathanM_65949
Nimbostratus
| Cycles (min, avg, max) = (40435, 83870, 148659) - Arie
Altostratus
In the iRule editor, right-click on an iRule and select "properties". There's a statistics tab. Under "metrics" you will find the runtime (in ms). Make sure you adjust the CPU speed as appropriate. - Nicolas_Menant
Employee
Hi,
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects