Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the devel-nytprof CPAN distribution.

Report information
The Basics
Id: 75917
Status: resolved
Priority: 0/
Queue: devel-nytprof

Owner: Nobody in particular
Requestors: zefram [...]

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)

Subject: wishlist: multiple clocks
Date: Tue, 20 Mar 2012 15:33:17 +0000
To: bug-Devel-NYTProf [...]
From: Zefram <zefram [...]>
Download (untitled) / with headers
text/plain 576b
Devel::NYTProf only records timings from one clock at a time. (It's nice that that's configurable, to use any of the clock_gettime() clocks.) It ought to be possible to configure NYTProf to record multiple clocks simultaneously. A naive use of times(), in a very simple profiler, gives both real time and CPU time, with CPU time split into user-mode and system-mode. NYTProf could equally well record both CLOCK_MONOTONIC and CLOCK_PROCESS_CPUTIME_ID. The comparison of the two sets of timing data, on the same subroutine executions, provides useful information. -zefram

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to