summaryrefslogtreecommitdiff
path: root/hw_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'hw_darwin.go')
-rw-r--r--hw_darwin.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw_darwin.go b/hw_darwin.go
new file mode 100644
index 0000000..ab1aef8
--- /dev/null
+++ b/hw_darwin.go
@@ -0,0 +1,7 @@
+package zoopb
+
+// simple memory and cpu count
+func (me *Machine) osGetMemory() {
+ me.Memory = int64(1024 * 1024)
+ me.Cpus = int64(1)
+}