tools/thermal/lib/uptimeofday.h

Source file repositories/reference/linux-study-clean/tools/thermal/lib/uptimeofday.h

File Facts

System
Linux kernel
Corpus path
tools/thermal/lib/uptimeofday.h
Extension
.h
Size
366 bytes
Lines
13
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __THERMAL_TOOLS_UPTIMEOFDAY_H
#define __THERMAL_TOOLS_UPTIMEOFDAY_H
#include <sys/sysinfo.h>
#include <sys/time.h>

int uptimeofday_init(void);
unsigned long getuptimeofday_ms(void);
struct timespec msec_to_timespec(int msec);

#endif

Annotation

Implementation Notes