16 lines
371 B
C
16 lines
371 B
C
#pragma once
|
|
|
|
#include <time.h>
|
|
|
|
struct timespec timespec_sub(const struct timespec * a,
|
|
const struct timespec * b);
|
|
|
|
struct timespec timespec_add(const struct timespec * a,
|
|
const struct timespec * b);
|
|
|
|
struct timespec timespec_div(const struct timespec * a,
|
|
int n);
|
|
|
|
struct timespec timespec_average(const struct timespec * ts,
|
|
int length);
|