feat: reimplement cpu logging

This commit is contained in:
2022-07-27 14:49:55 -03:00
parent 53eec5c3ff
commit 2c8616f610
4 changed files with 76 additions and 39 deletions

View File

@@ -14,6 +14,7 @@ const Allocator = std.mem.Allocator;
const sync_audio = false;
const sync_video: RunKind = .UnlimitedFPS;
pub const cpu_logging = false;
// 228 Lines which consist of 308 dots (which are 4 cycles long)
const cycles_per_frame: u64 = 228 * (308 * 4); //280896