cpp-common
include
nvsl
constants.hh
Go to the documentation of this file.
1
// -*- mode: c++; c-basic-offset: 2; -*-
2
3
#pragma once
4
11
#include <cstddef>
12
#include <cstdint>
13
14
namespace
nvsl {
16
enum
LP_SZ
:
size_t
17
{
18
B = 1,
19
KiB = 1024 * B,
20
MiB = 1024 * KiB,
21
GiB = 1024 * MiB,
22
TiB = 1024 * GiB
23
};
24
25
enum
time_unit
26
{
27
s_unit = 0,
28
ms_unit,
29
us_unit,
30
ns_unit,
31
any_unit
32
};
33
}
// namespace nvsl
nvsl::LP_SZ
LP_SZ
Enum to help with size of things.
Definition:
constants.hh:16
Generated by
1.8.17