rocprofiler-sdk/kfd/page_migration_id.h File Reference

rocprofiler-sdk/kfd/page_migration_id.h File Reference#

Rocprofiler SDK Developer API: rocprofiler-sdk/kfd/page_migration_id.h File Reference
Rocprofiler SDK Developer API 0.6.0
ROCm Profiling API and tools
page_migration_id.h File Reference
+ Include dependency graph for page_migration_id.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  rocprofiler_page_migration_trigger_t {
  ROCPROFILER_PAGE_MIGRATION_TRIGGER_NONE = -1 ,
  ROCPROFILER_PAGE_MIGRATION_TRIGGER_PREFETCH ,
  ROCPROFILER_PAGE_MIGRATION_TRIGGER_PAGEFAULT_GPU ,
  ROCPROFILER_PAGE_MIGRATION_TRIGGER_PAGEFAULT_CPU ,
  ROCPROFILER_PAGE_MIGRATION_TRIGGER_TTM_EVICTION ,
  ROCPROFILER_PAGE_MIGRATION_TRIGGER_LAST
}
 Page migration triggers. More...
 
enum  rocprofiler_page_migration_queue_suspend_trigger_t {
  ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_NONE = -1 ,
  ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_SVM ,
  ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_USERPTR ,
  ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_TTM ,
  ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_SUSPEND ,
  ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_CRIU_CHECKPOINT ,
  ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_CRIU_RESTORE ,
  ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_LAST
}
 Page migration triggers causing the queue to suspend. More...
 
enum  rocprofiler_page_migration_unmap_from_gpu_trigger_t {
  ROCPROFILER_PAGE_MIGRATION_UNMAP_FROM_GPU_TRIGGER_NONE = -1 ,
  ROCPROFILER_PAGE_MIGRATION_UNMAP_FROM_GPU_TRIGGER_MMU_NOTIFY ,
  ROCPROFILER_PAGE_MIGRATION_UNMAP_FROM_GPU_TRIGGER_MMU_NOTIFY_MIGRATE ,
  ROCPROFILER_PAGE_MIGRATION_UNMAP_FROM_GPU_TRIGGER_UNMAP_FROM_CPU ,
  ROCPROFILER_PAGE_MIGRATION_UNMAP_FROM_GPU_TRIGGER_LAST
}
 Page migration triggers causing an unmap from the GPU. More...
 

Enumeration Type Documentation

◆ rocprofiler_page_migration_queue_suspend_trigger_t

Page migration triggers causing the queue to suspend.

Enumerator
ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_NONE 
ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_SVM 
ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_USERPTR 
ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_TTM 

Queue suspended by TTM (Translation Table Manager) operation.

ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_SUSPEND 
ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_CRIU_CHECKPOINT 

Queues evicted due to process save (checkpoint) by CRIU.

ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_CRIU_RESTORE 

Queues restored during process restore by CRIU.

ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_LAST 

Definition at line 54 of file page_migration_id.h.

55{
59 ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_TTM, ///< Queue suspended by TTM (Translation
60 ///< Table Manager) operation
63 ///< process save
64 ///< (checkpoint) by CRIU
66 ///< process restore by CRIU
rocprofiler_page_migration_queue_suspend_trigger_t
Page migration triggers causing the queue to suspend.
@ ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_USERPTR
@ ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_CRIU_RESTORE
Queues restored during process restore by CRIU.
@ ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_TTM
Queue suspended by TTM (Translation Table Manager) operation.
@ ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_SUSPEND
@ ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_LAST
@ ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_SVM
@ ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_NONE
@ ROCPROFILER_PAGE_MIGRATION_QUEUE_SUSPEND_TRIGGER_CRIU_CHECKPOINT
Queues evicted due to process save (checkpoint) by CRIU.

◆ rocprofiler_page_migration_trigger_t

Page migration triggers.

Enumerator
ROCPROFILER_PAGE_MIGRATION_TRIGGER_NONE 
ROCPROFILER_PAGE_MIGRATION_TRIGGER_PREFETCH 

Migration triggered by a prefetch.

ROCPROFILER_PAGE_MIGRATION_TRIGGER_PAGEFAULT_GPU 

Triggered by a page fault on the GPU.

ROCPROFILER_PAGE_MIGRATION_TRIGGER_PAGEFAULT_CPU 

Triggered by a page fault on the CPU.

ROCPROFILER_PAGE_MIGRATION_TRIGGER_TTM_EVICTION 

Page evicted by linux TTM (Translation Table Manager)

ROCPROFILER_PAGE_MIGRATION_TRIGGER_LAST 

Definition at line 39 of file page_migration_id.h.

40{
42 ROCPROFILER_PAGE_MIGRATION_TRIGGER_PREFETCH, ///< Migration triggered by a prefetch
43 ROCPROFILER_PAGE_MIGRATION_TRIGGER_PAGEFAULT_GPU, ///< Triggered by a page fault on the GPU
44 ROCPROFILER_PAGE_MIGRATION_TRIGGER_PAGEFAULT_CPU, ///< Triggered by a page fault on the CPU
45 ROCPROFILER_PAGE_MIGRATION_TRIGGER_TTM_EVICTION, ///< Page evicted by linux TTM (Translation
46 ///< Table Manager)
rocprofiler_page_migration_trigger_t
Page migration triggers.
@ ROCPROFILER_PAGE_MIGRATION_TRIGGER_TTM_EVICTION
Page evicted by linux TTM (Translation Table Manager)
@ ROCPROFILER_PAGE_MIGRATION_TRIGGER_PREFETCH
Migration triggered by a prefetch.
@ ROCPROFILER_PAGE_MIGRATION_TRIGGER_PAGEFAULT_CPU
Triggered by a page fault on the CPU.
@ ROCPROFILER_PAGE_MIGRATION_TRIGGER_NONE
@ ROCPROFILER_PAGE_MIGRATION_TRIGGER_LAST
@ ROCPROFILER_PAGE_MIGRATION_TRIGGER_PAGEFAULT_GPU
Triggered by a page fault on the GPU.

◆ rocprofiler_page_migration_unmap_from_gpu_trigger_t

Page migration triggers causing an unmap from the GPU.

Enumerator
ROCPROFILER_PAGE_MIGRATION_UNMAP_FROM_GPU_TRIGGER_NONE 
ROCPROFILER_PAGE_MIGRATION_UNMAP_FROM_GPU_TRIGGER_MMU_NOTIFY 
ROCPROFILER_PAGE_MIGRATION_UNMAP_FROM_GPU_TRIGGER_MMU_NOTIFY_MIGRATE 
ROCPROFILER_PAGE_MIGRATION_UNMAP_FROM_GPU_TRIGGER_UNMAP_FROM_CPU 
ROCPROFILER_PAGE_MIGRATION_UNMAP_FROM_GPU_TRIGGER_LAST 

Definition at line 74 of file page_migration_id.h.