PerformanceCounter.h 1.1 KB
#pragma once

#include <stdint.h>
#include "il2cpp-config.h"
#include "il2cpp-object-internals.h"

struct Il2CppObject;
struct Il2CppDelegate;
struct Il2CppReflectionType;
struct Il2CppReflectionMethod;
struct Il2CppReflectionField;
struct Il2CppArray;
struct Il2CppException;
struct Il2CppReflectionModule;
struct Il2CppAssembly;
struct Il2CppAssemblyName;
struct Il2CppAppDomain;

namespace il2cpp
{
namespace icalls
{
namespace System
{
namespace System
{
namespace Diagnostics
{
    struct Il2CppCounterSample;

    class LIBIL2CPP_CODEGEN_API PerformanceCounter
    {
    public:
        static void FreeData(intptr_t impl);
        static bool GetSample(intptr_t impl, bool only_value, Il2CppCounterSample* sample);
        static int64_t UpdateValue(intptr_t impl, bool do_incr, int64_t value);
        static intptr_t GetImpl(Il2CppString* category, Il2CppString* counter, Il2CppString* instance, Il2CppString* machine, int* type, bool* custom);
    };
} /* namespace Diagnostics */
} /* namespace System */
} /* namespace System */
} /* namespace icalls */
} /* namespace il2cpp */