[*] Update Aurora Runtime (Linux and NT should build)
This commit is contained in:
parent
618f1cd2a0
commit
97f288a750
@ -1 +1 @@
|
||||
Subproject commit cda2c02de6f7d1992f03c636fcacca5e0fce806a
|
||||
Subproject commit 23fbd26c7f7609721f3d0de545f6ad8d4cee49fe
|
@ -1 +1 @@
|
||||
Subproject commit 55c02d4aa020a8cd21d1f793ffb6080b33f3474f
|
||||
Subproject commit ab6f00f0941317ea65781733b6c1c89d639b0c7e
|
@ -1 +1 @@
|
||||
Subproject commit ef1d2633e5c9bd8aeb71434b3d7b67a896df5e39
|
||||
Subproject commit 21e2df1ebb589c4845fb644c255ca0b2d7129782
|
@ -16,20 +16,20 @@ TEST(Process, RunSystem)
|
||||
#endif
|
||||
;
|
||||
|
||||
AuProcesses::StartupParmaters params;
|
||||
AuProcesses::StartupParameters params;
|
||||
params.type = AuProcesses::ESpawnType::eSpawnChildProcessWorker;
|
||||
params.process = proc;
|
||||
params.fwdOut = AuProcesses::EStreamForward::eAsyncPipe;
|
||||
params.fwdIn = AuProcesses::EStreamForward::eAsyncPipe;
|
||||
params.bNoShowConsole = true;
|
||||
auto process = AuProcesses::SpawnUnique(params);
|
||||
auto process = AuProcesses::SpawnUnique(AuMove(params));
|
||||
ASSERT_TRUE(static_cast<bool>(process));
|
||||
|
||||
ASSERT_TRUE(process->Start());
|
||||
|
||||
AuByteBuffer stdoutPipe(4096 * 16);
|
||||
AuUInt written {};
|
||||
while (process->Read(AuProcesses::EStandardHandle::eStdOut, AuMemoryViewStreamWrite {stdoutPipe, written}, false))
|
||||
while (process->Read(AuProcesses::EStandardHandle::eOutputStream, AuMemoryViewStreamWrite {stdoutPipe, written}, false))
|
||||
{
|
||||
AuLogDbg("STDOUT {}", AuString(stdoutPipe.begin(), stdoutPipe.begin() + written));
|
||||
}
|
||||
@ -46,13 +46,13 @@ TEST(Process, RunSystemLoopSourceStdOut)
|
||||
#endif
|
||||
;
|
||||
|
||||
AuProcesses::StartupParmaters params;
|
||||
AuProcesses::StartupParameters params;
|
||||
params.type = AuProcesses::ESpawnType::eSpawnChildProcessWorker;
|
||||
params.process = proc;
|
||||
params.fwdOut = AuProcesses::EStreamForward::eAsyncPipe;
|
||||
params.fwdIn = AuProcesses::EStreamForward::eAsyncPipe;
|
||||
params.bNoShowConsole = true;
|
||||
auto process = AuProcesses::SpawnUnique(params);
|
||||
auto process = AuProcesses::SpawnUnique(AuMove(params));
|
||||
ASSERT_TRUE(static_cast<bool>(process));
|
||||
|
||||
ASSERT_TRUE(process->Start());
|
||||
@ -108,7 +108,7 @@ TEST(Process, RunSystemLoopSourceStdOut)
|
||||
{
|
||||
AuByteBuffer stdoutPipe(4096 * 16);
|
||||
AuUInt written {};
|
||||
while (process->Read(AuProcesses::EStandardHandle::eStdOut, AuMemoryViewStreamWrite {stdoutPipe, written}, false))
|
||||
while (process->Read(AuProcesses::EStandardHandle::eOutputStream, AuMemoryViewStreamWrite {stdoutPipe, written}, false))
|
||||
{
|
||||
AuLogDbg("FAIL {}", AuString(stdoutPipe.begin(), stdoutPipe.begin() + written));
|
||||
}
|
||||
|
@ -32,7 +32,7 @@ TEST(Benchmark, Steady)
|
||||
|
||||
TEST(Benchmark, CurrentClockNS)
|
||||
{
|
||||
SysBenchmark("CurrentClockNS");
|
||||
SysBenchmark("CurrentClockNS (wall)");
|
||||
|
||||
AuUInt c {};
|
||||
for (int i = 0; i < 100'000'000; i++)
|
||||
@ -47,6 +47,10 @@ TEST(CheckClockPresence, CheckClockPresence)
|
||||
ASSERT_TRUE(bool(AuTime::GetClockFromEnum(AuTime::EClock::eThreadTime)));
|
||||
ASSERT_TRUE(bool(AuTime::GetClockFromEnum(AuTime::EClock::eWall)));
|
||||
ASSERT_TRUE(bool(AuTime::GetClockFromEnum(AuTime::EClock::eSteady)));
|
||||
ASSERT_TRUE(bool(AuTime::GetClockFromEnum(AuTime::EClock::eProcessUserTime)));
|
||||
ASSERT_TRUE(bool(AuTime::GetClockFromEnum(AuTime::EClock::eProcessKernelTime)));
|
||||
ASSERT_TRUE(bool(AuTime::GetClockFromEnum(AuTime::EClock::eThreadUserTime)));
|
||||
ASSERT_TRUE(bool(AuTime::GetClockFromEnum(AuTime::EClock::eThreadKernelTime)));
|
||||
}
|
||||
|
||||
void RunTests()
|
||||
|
@ -595,8 +595,9 @@ static void ReadFileThroughpPipeProcessorCongested(int i)
|
||||
aio.pListener = listener;
|
||||
aio.bIsStream = false;
|
||||
aio.output.type = AuIO::EPipeCallbackType::eTryHandleBufferedPart;
|
||||
aio.uPageLengthOrZero = 1024 * 1024 * 2; // read in 2MB chunks
|
||||
aio.uPageLengthOrZero = 1024 * 1024 * 2; // read in 2MB chunks
|
||||
aio.uBufferLengthOrZero = 1024 * 1024 * 2 * i; // read in 2MB chunks
|
||||
aio.uLengthOrZero = 512 * 1024 * 40;
|
||||
|
||||
static auto localCount = 0;
|
||||
localCount = 0;
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 460ae98267b83db4ca2730d368d53f8aee3b636e
|
||||
Subproject commit d1467f5813f4d363cfd11aba99c4e9fe47a85e99
|
2
Vendor/brotli
vendored
2
Vendor/brotli
vendored
@ -1 +1 @@
|
||||
Subproject commit c1bd196833e4ce05ef49b82ec5e124bb79e095ff
|
||||
Subproject commit ce9c16e88296385071d975665acb3c3eaa96f26a
|
2
Vendor/mimalloc
vendored
2
Vendor/mimalloc
vendored
@ -1 +1 @@
|
||||
Subproject commit 18c0ff282b842919a8f4ad754c831664f8f75f60
|
||||
Subproject commit ff62c6ffea6cc6c52f4963474016236c9f5e5cf8
|
2
Vendor/nlohmannjson
vendored
2
Vendor/nlohmannjson
vendored
@ -1 +1 @@
|
||||
Subproject commit 5d2754306d67d1e654a1a34e1d2e74439a9d53b3
|
||||
Subproject commit 5fec8034933ef434a98dfbd2551b052c56345869
|
Loading…
Reference in New Issue
Block a user