/*
 * Copyright (c) 2026, Chloe M., et al.
 * Provided under the BSD-3 clause.
 *
 * Description: Unit definitions
 * Author:      Chloe M.
 */

#ifndef _SDK_UNITS_H_
#define _SDK_UNITS_H_ 1

/* Storage size units */
#define UNIT_GIB 0x40000000
#define UNIT_MIB 0x100000
#define UNIT_KIB 0x400

/* Time units */
#define UNIT_FS_PER_MS 1000000000000ULL
#define FSEC_PER_SECOND 1000000000000000ULL
#define NSEC_PER_SECOND 1000000000ULL
#define USEC_PER_SECOND 1000000ULL
#define USEC_PER_MSEC   1000ULL

/* Frequency units */
#define HZ_PER_MHZ 1000000

#endif  /* !_SDK_UNITS_H_ */
