pmtimevalNow is a platform-independent method that returns the
current system time since the Epoch in tv.
pmtimevalInc adds the time in ap to the time in bp and stores the
result in ap. Similarly pmtimevalDec subtracts the time in bp from
the time in ap and stores the result in ap.
pmtimevalAdd (and pmtimevalSub) add (and subtract) times and return
the result as a double value. The time in the ap argument is not
pmtimevalToReal converts the time in tp to an equivalent double
value. pmtimevalFromReal provides the reverse conversion, taking the
time in secs and returning the equivalent time in val.
pmPrintStamp prints the timestamp from tp on the stream f in the
local time (as returned by pmLocaltime(3)) in the format
HH:MM:SS.XXX. pmPrintHighResStamp performs a similar service, but
for a struct timespec and reports the timestamp to nanosecond
This page is part of the PCP (Performance Co-Pilot) project.
Information about the project can be found at ⟨http://www.pcp.io/⟩.
If you have a bug report for this manual page, send it to
email@example.com. This page was obtained from the project's upstream
Git repository ⟨https://github.com/performancecopilot/pcp.git⟩ on
2020-06-09. (At that time, the date of the most recent commit that
was found in the repository was 2020-06-09.) If you discover any
rendering problems in this HTML version of the page, or you believe
there is a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
Performance Co-Pilot PCP PMTIMEVAL(3)