I have nearly 100 events which tirgger for every 2- 10mins range i need to calculate execution time of each event and how many times it triggerd
This is not helping my cause Can any one please help mesub test { my $start_time = time; print USAGE_FH "\n".$IP.",$event_name,".$start_time.","; ----------- code for execution ----------- my $endtime = time; my $diff_time = $endtime - $start_time; print USAGE_FH $endtime.",".$difftime; }
In reply to Subroutine execution time by santosh_vjit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |