gko::log::Logger#
Abstract base for all loggers. Defines an on_<event> virtual for
every observable event in Ginkgo (allocation, free, copy, iteration
complete, linop apply started / completed, criterion check, …). A
concrete logger overrides just the events it cares about and uses an
event mask to opt in.
-
class Logger#
Subclassed by
gko::log::Papi< ValueType >
Public Functions
Public Static Attributes
-
static size_type event_count_max = sizeof(mask_type) * byte_size#
Maximum amount of events (bits) with the current implementation
-
static mask_type all_events_mask = ~mask_type{0}#
Bitset Mask which activates all events
-
static mask_type executor_events_mask = allocation_started_mask | allocation_completed_mask | free_started_mask | free_completed_mask | copy_started_mask | copy_completed_mask#
Bitset Mask which activates all executor events
-
static mask_type operation_events_mask = operation_launched_mask | operation_completed_mask#
Bitset Mask which activates all operation events
-
static mask_type polymorphic_object_events_mask = polymorphic_object_create_started_mask | polymorphic_object_create_completed_mask | polymorphic_object_copy_started_mask | polymorphic_object_copy_completed_mask | polymorphic_object_move_started_mask | polymorphic_object_move_completed_mask | polymorphic_object_deleted_mask#
Bitset Mask which activates all polymorphic object events
-
static mask_type linop_events_mask = linop_apply_started_mask | linop_apply_completed_mask | linop_advanced_apply_started_mask | linop_advanced_apply_completed_mask#
Bitset Mask which activates all linop events
-
static mask_type linop_factory_events_mask = linop_factory_generate_started_mask | linop_factory_generate_completed_mask#
Bitset Mask which activates all linop factory events
-
static mask_type batch_linop_factory_events_mask = batch_linop_factory_generate_started_mask | batch_linop_factory_generate_completed_mask#
Bitset Mask which activates all batch linop factory events
-
static mask_type criterion_events_mask = criterion_check_started_mask | criterion_check_completed_mask#
Bitset Mask which activates all criterion events