commit | e4f06812c5c291e21c07bb19cc48f947f0a84060 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Mon Feb 08 14:32:22 2010 -0800 |
committer | Russ Cox <rsc@golang.org> | Mon Feb 08 14:32:22 2010 -0800 |
tree | 41eb3c4e31fa99fb0346ec5be84eaf00be902e44 | |
parent | 49c42569138d027b7c7e68dbbe58fd1864045767 [diff] [blame] |
runtime: instrument malloc + garbage collector. add simple garbage collection benchmark. R=iant CC=golang-dev https://golang.org/cl/204053
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index 2d6d42e..a526c04 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h
@@ -393,6 +393,8 @@ void ·newproc(int32, byte*, byte*); void siginit(void); bool sigsend(int32 sig); +void gettime(int64*, int32*); +int64 nanotime(void); #pragma varargck argpos printf 1