File: pyi_floatclock.h

package info (click to toggle)
python-pyinstrument 5.1.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,672 kB
  • sloc: python: 6,907; ansic: 897; makefile: 46; sh: 26; javascript: 18
file content (15 lines) | stat: -rw-r--r-- 346 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef PYI_FLOATCLOCK_H
#define PYI_FLOATCLOCK_H

#include <Python.h>
#include "pyi_shared.h"

typedef enum {
    PYI_FLOATCLOCK_DEFAULT = 0,
    PYI_FLOATCLOCK_MONOTONIC_COARSE = 1,
} PYIFloatClockType;

Py_EXPORTED_SYMBOL double pyi_monotonic_coarse_resolution(void);
Py_EXPORTED_SYMBOL double pyi_floatclock(PYIFloatClockType timer);

#endif