AuroraRuntime/Source/Telemetry/Telemetry.cpp
Reece d7c6d66fad [+] AuBitsToLower, AuBitsToHigher (returns half of an input word)
[+] AuPopCnt
[+] NormalizePath, GetFileFromPath, GetDirectoryFromPath, GoUpToSeparator
[*] Fix Version Helpers again
[*] Fix registry locale memory check under read registry in SWInfo
[*] Breakout portable process code away from evil win32 code
[*] .dynlib -> .dylib under macos
2022-01-27 05:52:45 +00:00

80 lines
1.2 KiB
C++

/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: Telemetry.cpp
Date: 2021-6-17
Author: Reece
***/
#include <Source/RuntimeInternal.hpp>
#include <Source/Debug/Debug.hpp>
#include "Telemetry.hpp"
namespace Aurora::Telemetry
{
static AuThreadPrimitives::CriticalSectionUnique_t gGroupLock;
void BeginBlock()
{
gGroupLock->Lock();
}
void EndBlock()
{
gGroupLock->Unlock();
}
void InsertOSError(const Debug::OSError_t &osError)
{
}
void InsertMsgError(const Debug::LastError &error)
{
}
void InsertCError(AuSInt cError)
{
}
void InsertManualFence(AuUInt32 fence)
{
}
void InsertBackTrace(AuUInt32 fence)
{
}
void Report(Telemetry::NewBlockboxEntry &entry)
{
}
void ReportDyingBreath(Telemetry::NewBlackBoxEntryMinidump &entry)
{
}
void ReportSysInfo()
{
}
void Init()
{
gGroupLock = AuThreadPrimitives::CriticalSectionUnique();
ReportSysInfo();
}
AUKN_SYM void Mayday()
{
Debug::CheckErrors();
Debug::PlatformHandleFatal(false);
}
}