Logging: ns rather than nS

Change-Id: Iebc5776ba13e10c895384411457bbecea7b6ba03
pull/136/head
David Banks 2020-02-02 12:39:04 +00:00
rodzic 7d1adeb0c1
commit 9277d726aa
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -2229,7 +2229,7 @@ void rgb_to_hdmi_main() {
init_framebuffer(capinfo); init_framebuffer(capinfo);
log_debug("Done setting up frame buffer"); log_debug("Done setting up frame buffer");
//log_info("Peripheral base = %08X", PERIPHERAL_BASE); //log_info("Peripheral base = %08X", PERIPHERAL_BASE);
log_info("RAM benchmark: Main memory = %d nS, Screen memory = %d nS", (int) ((double) benchmarkRAM(dummyscreen) * 1000 / cpuspeed), (int) ((double) benchmarkRAM((int) capinfo->fb) * 1000 / cpuspeed)); log_info("RAM benchmark: Main memory = %d ns, Screen memory = %d ns", (int) ((double) benchmarkRAM(dummyscreen) * 1000 / cpuspeed), (int) ((double) benchmarkRAM((int) capinfo->fb) * 1000 / cpuspeed));
osd_refresh(); osd_refresh();