Fix typos/spelling errors

Change-Id: Idec1cb8fab91c30f99563bc7dd4db1faeb2db954
Цей коміт міститься в:
Laurent Morichetti
2022-04-26 12:39:09 -07:00
джерело 6b06322578
коміт 18f60efe05
4 змінених файлів з 17 додано та 17 видалено
+6 -6
Переглянути файл
@@ -24,10 +24,10 @@
//
// ROC-tracer library, Runtimes Generic Callback/Activity APIs.
// The goal of the implementation is to provide a generic independent from
// specific runtime profiler to trace API and asyncronous activity.
// specific runtime profiler to trace API and asynchronous activity.
//
// The API provides functionality for registering the runtimes API callbacks and
// asyncronous activity records pool support.
// asynchronous activity records pool support.
//
////////////////////////////////////////////////////////////////////////////////
@@ -55,7 +55,7 @@ uint32_t roctracer_version_major();
uint32_t roctracer_version_minor();
////////////////////////////////////////////////////////////////////////////////
// Library errors enumaration
// Library errors enumeration
typedef enum {
ROCTRACER_STATUS_SUCCESS = 0,
ROCTRACER_STATUS_ERROR = 1,
@@ -159,8 +159,8 @@ typedef void (*roctracer_buffer_callback_t)(
typedef struct {
uint32_t mode; // roctracer mode
size_t buffer_size; // buffer size
roctracer_allocator_t alloc_fun; // memory alocator function pointer
void* alloc_arg; // memory alocator function pointer
roctracer_allocator_t alloc_fun; // memory allocator function pointer
void* alloc_arg; // memory allocator function pointer
roctracer_buffer_callback_t buffer_callback_fun; // tracer record callback function
void* buffer_callback_arg; // tracer record callback arg
} roctracer_properties_t;
@@ -242,7 +242,7 @@ void roctracer_flush_buf();
// Set properties
roctracer_status_t roctracer_set_properties(roctracer_domain_t domain, // tracing domain
void* propertes); // tracing properties
void* properties); // tracing properties
#ifdef __cplusplus
} // extern "C" block
+2 -2
Переглянути файл
@@ -74,10 +74,10 @@ typedef struct roctx_api_data_s {
} args;
} roctx_api_data_t;
// Regiter ROCTX callback for given opertaion id
// Regiter ROCTX callback for given operation id
bool RegisterApiCallback(uint32_t op, void* callback, void* arg);
// Remove ROCTX callback for given opertaion id
// Remove ROCTX callback for given operation id
bool RemoveApiCallback(uint32_t op);
// Iterate range stack to support tracing start/stop