xref: /aosp_15_r20/external/executorch/runtime/platform/types.h (revision 523fa7a60841cd1ecfb9cc4201f1ca8b03ed023a)
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  * All rights reserved.
4  *
5  * This source code is licensed under the BSD-style license found in the
6  * LICENSE file in the root directory of this source tree.
7  */
8 
9 /**
10  * @file
11  * Public types used by the ExecuTorch Platform Abstraction Layer.
12  */
13 
14 #pragma once
15 
16 // Use C-style includes so that C code can include this header.
17 #include <stdint.h>
18 
19 extern "C" {
20 
21 /// Platform timestamp in system ticks.
22 typedef uint64_t et_timestamp_t;
23 
24 } // extern "C"
25