File: timespec.h

package info (click to toggle)
cubemap 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 428 kB
  • sloc: cpp: 4,431; sh: 114; perl: 102; makefile: 60
file content (12 lines) | stat: -rw-r--r-- 245 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _TIMESPEC_H
#define _TIMESPEC_H 1

struct timespec;

// Compute b-a.
timespec clock_diff(const timespec &a, const timespec &b);

// Compute a+b.
timespec clock_add(const timespec &a, const timespec &b);

#endif  // !defined(_TIMESPEC_H)