geopm
3.1.1.dev296+g5916b956
GEOPM - Global Extensible Open Power Manager
|
#include <errno.h>
#include <math.h>
#include <string.h>
#include "geopm_public.h"
#include <stdbool.h>
#include <time.h>
Go to the source code of this file.
Classes | |
struct | geopm_time_s |
structure to abstract the timespec on linux from other representations of time. More... | |
Macros | |
#define | GEOPM_TIME_STRING_MAX 255ULL |
String allocation size sufficient for results of geopm_time function calls. More... | |
Functions | |
int GEOPM_PUBLIC | geopm_time_zero (struct geopm_time_s *zero_time) |
int GEOPM_PUBLIC | geopm_time_real_to_iso_string (const struct geopm_time_s *time, int buf_size, char *buf) |
#define GEOPM_TIME_STRING_MAX 255ULL |
String allocation size sufficient for results of geopm_time function calls.
int GEOPM_PUBLIC geopm_time_real_to_iso_string | ( | const struct geopm_time_s * | time, |
int | buf_size, | ||
char * | buf | ||
) |
int GEOPM_PUBLIC geopm_time_zero | ( | struct geopm_time_s * | zero_time | ) |