in reply to Re: Timer implementation
in thread Timer implementation
at case of Time::HiRes$start = [times()]; ...somecode... $end = [times()]; $time_diff =($start->[0] + $start->[1]) - ($end->[0] + $end->[1]);
But if real <=> sys+user, my first case will be always lower that at case 2$start=[gettimeofday]; ...somecode... $end = [gettimeofday]; $time_diff = tv_interval($start, $end);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Timer implementation
by GrandFather (Saint) on Sep 16, 2008 at 02:29 UTC | |
by bash (Scribe) on Sep 16, 2008 at 02:53 UTC | |
by GrandFather (Saint) on Sep 16, 2008 at 03:19 UTC | |
by cramdorgi (Acolyte) on Sep 16, 2008 at 09:42 UTC | |
by bash (Scribe) on Sep 16, 2008 at 13:47 UTC | |
by shmem (Chancellor) on Sep 16, 2008 at 22:09 UTC |