#pragma once #include #include struct Il2CppRuntimeStats { std::atomic new_object_count; std::atomic initialized_class_count; // uint64_t generic_vtable_count; // uint64_t used_class_count; std::atomic method_count; // uint64_t class_vtable_size; std::atomic class_static_data_size; std::atomic generic_instance_count; std::atomic generic_class_count; std::atomic inflated_method_count; std::atomic inflated_type_count; // uint64_t delegate_creations; // uint64_t minor_gc_count; // uint64_t major_gc_count; // uint64_t minor_gc_time_usecs; // uint64_t major_gc_time_usecs; bool enabled; }; extern Il2CppRuntimeStats il2cpp_runtime_stats;