Skip to content

Commit dcf6ad4

Browse files
author
Requiem
committed
chore: sync main
1 parent b2fbb82 commit dcf6ad4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vmaware.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4934,7 +4934,7 @@ struct VM {
49344934
u64 last = rdtsc();
49354935
t2_start.store(last, std::memory_order_release);
49364936

4937-
// local accumulator (fast) and local index into samples
4937+
// local accumulator and local index into samples
49384938
u64 acc = 0;
49394939
size_t idx = 0;
49404940

@@ -5071,7 +5071,7 @@ struct VM {
50715071
if (!raw) return 0;
50725072
memset(raw, 0, bufSize);
50735073

5074-
NTSTATUS status = CallNtPowerInformation(
5074+
const NTSTATUS status = CallNtPowerInformation(
50755075
ProcessorInformation,
50765076
nullptr, 0,
50775077
raw, static_cast<ULONG>(bufSize)

0 commit comments

Comments
 (0)