mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 23:20:54 +00:00
examples: initialize sysprof clock
This commit is contained in:
@ -23,6 +23,8 @@ main (int argc,
|
|||||||
{
|
{
|
||||||
SysprofCaptureWriter *writer;
|
SysprofCaptureWriter *writer;
|
||||||
|
|
||||||
|
sysprof_clock_init ();
|
||||||
|
|
||||||
/* Ignore SIGPIPE because we might get a pipe from the environment and we
|
/* Ignore SIGPIPE because we might get a pipe from the environment and we
|
||||||
* don't want to trap if write() is used on it.
|
* don't want to trap if write() is used on it.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user