VLCB SDK
An opinionated SDK for VLCB protocol
Loading...
Searching...
No Matches
time.h
Go to the documentation of this file.
1
#pragma once
2
3
// Alias to libc time.h, used by this SDK to provide easy to shim entry point
4
// should we need to implement shims for certain platforms. The idea is not to
5
// reinvent the "time" wheel by introducing custom functions and types.
6
// this should also keep the footprint as minimal as possible
7
8
#include <
time.h
>
9
10
static
inline
double
vlcb_platform_time_DiffInMs
(
const
clock_t start,
const
clock_t end) {
11
return
((
double
)(end - start) / CLOCKS_PER_SEC) * 1000.0;
12
}
time.h
vlcb_platform_time_DiffInMs
static double vlcb_platform_time_DiffInMs(const clock_t start, const clock_t end)
Definition
time.h:10
platform
inc
vlcb
platform
time.h
Generated on Mon Nov 4 2024 09:13:33 for VLCB SDK by
1.12.0