---
title: aicpu_utils
description: "本章接口为预留接口，后续有可能变更或废弃，不建议开发者使用，开发者无需关注。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/aolapi/atlasascendc_api_07_1166.html
sourcePath: /source/zh/canncommercial/900/API/aolapi/atlasascendc_api_07_1166.html
indexId: 8b8319652bba83bfee01a3598c5ecc7f71a467f614bf659e2af4c9bf0b5f015870
---
# aicpu_utils

本章接口为预留接口，后续有可能变更或废弃，不建议开发者使用，开发者无需关注。


**表1 接口列表**

| 接口定义 | 功能说明 |
| --- | --- |
| RecordAicpuTime(const size\_t index) | 记录执行算子任务时当前时间戳。 |
| lk(gTimeStampMutex) | 时间戳数据结构的锁。 |
| clock\_gettime(CLOCK\_MONOTONIC, &(gAicpuTimeStamp.tp[index])) | 系统函数，获取当前系统时间戳。 |
