cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

uptimeofday.h (366B)


      1/* SPDX-License-Identifier: LGPL-2.1+ */
      2/* Copyright (C) 2022, Linaro Ltd - Daniel Lezcano <daniel.lezcano@linaro.org> */
      3#ifndef __THERMAL_TOOLS_UPTIMEOFDAY_H
      4#define __THERMAL_TOOLS_UPTIMEOFDAY_H
      5#include <sys/sysinfo.h>
      6#include <sys/time.h>
      7
      8int uptimeofday_init(void);
      9unsigned long getuptimeofday_ms(void);
     10struct timespec msec_to_timespec(int msec);
     11
     12#endif