File: timer.h

package info (click to toggle)
ocp 1%3A0.1.21-1.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 5,344 kB
  • ctags: 7,862
  • sloc: ansic: 91,449; cpp: 9,729; sh: 3,119; makefile: 2,482
file content (17 lines) | stat: -rw-r--r-- 310 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __TIMER_H
#define __TIMER_H

#include <time.h>

int  tmInit(void (*)(void), int timeval);
void tmClose(void);
void tmSetNewRate(int);
time_t tmGetTimer(void);
int  tmGetCpuUsage(void);
void tmSetSecure(void);
void tmReleaseSecure(void);
#ifdef DISABLE_SIGALRM
void tmTimerHandler(void);
#endif

#endif