mark and range push aliases

[ROCm/roctracer commit: 7b779f8409]
This commit is contained in:
Evgeny committed 2019-09-13 15:58:40 -05:00
1 والد b1d33ba719
کامیت efe3523ac4
1 file changed
+2
@@ -56,6 +56,7 @@ const char* roctracer_error_string();
// A marker created by given ASCII massage // A marker created by given ASCII massage
void roctxMarkA(const char* message); void roctxMarkA(const char* message);
void roctxMark(const char* message) { return roctxMarkA(message); }
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Ranges annotating API // Ranges annotating API
@@ -63,6 +64,7 @@ void roctxMarkA(const char* message);
// Returns the 0 based level of a nested range being started by given message associated to this range. // 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. // A negative value is returned on the error.
int roctxRangePushA(const char* message); int roctxRangePushA(const char* message);
int roctxRangePush(const char* message) { return roctxRangePushA(message); }
// Marks the end of a nested range. // Marks the end of a nested range.
// A negative value is returned on the error. // A negative value is returned on the error.