|
|
|||
File indexing completed on 2026-05-10 08:45:13
0001 /* 0002 * SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. 0003 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 0004 * 0005 * Licensed under the Apache License, Version 2.0 (the "License"); 0006 * you may not use this file except in compliance with the License. 0007 * You may obtain a copy of the License at 0008 * 0009 * http://www.apache.org/licenses/LICENSE-2.0 0010 * 0011 * Unless required by applicable law or agreed to in writing, software 0012 * distributed under the License is distributed on an "AS IS" BASIS, 0013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 0014 * See the License for the specific language governing permissions and 0015 * limitations under the License. 0016 * 0017 * Licensed under the Apache License v2.0 with LLVM Exceptions. 0018 * See https://nvidia.github.io/NVTX/LICENSE.txt for license information. 0019 */ 0020 0021 #if defined(NVTX_AS_SYSTEM_HEADER) 0022 #if defined(__clang__) 0023 #pragma clang system_header 0024 #elif defined(__GNUC__) || defined(__NVCOMPILER) 0025 #pragma GCC system_header 0026 #elif defined(_MSC_VER) 0027 #pragma system_header 0028 #endif 0029 #endif 0030 0031 #include "nvToolsExtPayload.h" 0032 0033 /** Identifier of the semantic extension for timestamps. */ 0034 #ifndef NVTX_SEMANTIC_ID_TIME_V1 0035 #define NVTX_SEMANTIC_ID_TIME_V1 2 0036 0037 /* Use with the version field of `nvtxSemanticsHeader_t`. */ 0038 #define NVTX_TIME_SEMANTIC_VERSION 1 0039 0040 /** Semantic extension specifying timestamp properties. */ 0041 typedef struct nvtxSemanticsTime_v1 0042 { 0043 struct nvtxSemanticsHeader_v1 header; 0044 0045 /** Time domain ID or predefined `NVTX_TIMESTAMP_TYPE_*`. */ 0046 uint64_t timeDomainId; 0047 } nvtxSemanticsTime_t; 0048 0049 #endif /* NVTX_SEMANTIC_ID_TIME_V1 */
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|