该章节提供通过Ascend Graph API编程接口的两种方式使能Profiling。 序号 采集方式 方式一 通过GEInitialize传入option参数: ge.exec.profilingMode ge.exec.profilingOptions 方式二 调用如下接口,采集Profiling性能数据:aclgrphProfInit aclgrphProfFinalize aclgrphProfCreateConfig aclgrphProfDestroyConfig aclgrphProfStart aclgrphProfStop 如果需要采集迭代轨迹数据,还需要通过GEIniti