diff options
Diffstat (limited to 'libgo/runtime/runtime_c.c')
-rw-r--r-- | libgo/runtime/runtime_c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgo/runtime/runtime_c.c b/libgo/runtime/runtime_c.c index 1358804..9883e0a 100644 --- a/libgo/runtime/runtime_c.c +++ b/libgo/runtime/runtime_c.c @@ -58,7 +58,7 @@ runtime_atoi(const byte *p, intgo len) } uint32 -runtime_fastrand1(void) +runtime_fastrand(void) { M *m; uint32 x; @@ -88,9 +88,9 @@ runtime_cputicks(void) asm volatile(".insn s,0xb27c0000,%0" /* stckf */ : "+Q" (clock) : : "cc" ); return (int64)clock; #else - // Currently cputicks() is used in blocking profiler and to seed runtime·fastrand1(). + // Currently cputicks() is used in blocking profiler and to seed runtime·fastrand(). // runtime·nanotime() is a poor approximation of CPU ticks that is enough for the profiler. - // TODO: need more entropy to better seed fastrand1. + // TODO: need more entropy to better seed fastrand. return runtime_nanotime(); #endif } |