Update roctracer_spec.md

[ROCm/roctracer commit: 9b6d20eca2]
This commit is contained in:
eshcherb
2020-01-11 05:32:22 -06:00
committed by GitHub
parent 433b5e350a
commit 0cf2435c56
+15
View File
@@ -728,3 +728,18 @@ void stop_tracing() {
}
/////////////////////////////////////////////////////////////////////////////
```
'rocTX' application code annotation
```
Basic API: markers and nested ranges.
// A marker created by given ASCII massage
void roctxMark(const char* message);
// Returns the 0 based level of a nested range being started by given message associated to this range.
// A negative value is returned on the error.
int roctxRangePush(const char* message);
// Marks the end of a nested range.
// Returns the 0 based level the range.
// A negative value is returned on the error.
int roctxRangePop();
```