aboutsummaryrefslogtreecommitdiff
path: root/miner.h
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2010-11-26 23:12:24 -0500
committerJeff Garzik <jgarzik@redhat.com>2010-11-26 23:12:24 -0500
commit35ea649d976b938f09f383bbc580872aaa5c61eb (patch)
tree58da699df11517a9b41ae293f4066b68dba5ae70 /miner.h
parenta50201eb2142f6ea7ffe451c87a341ef158be84e (diff)
Improve hash performance statistics.
Diffstat (limited to 'miner.h')
-rw-r--r--miner.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/miner.h b/miner.h
index b4cc939..69c56a7 100644
--- a/miner.h
+++ b/miner.h
@@ -16,6 +16,9 @@ extern bool hex2bin(unsigned char *p, const char *hexstr, size_t len);
extern unsigned int ScanHash_4WaySSE2(unsigned char *pmidstate,
unsigned char *pdata, unsigned char *phash1, unsigned char *phash,
- unsigned int *nHashesDone);
+ unsigned long *nHashesDone);
+
+extern int
+timeval_subtract (struct timeval *result, struct timeval *x, struct timeval *y);
#endif /* __MINER_H__ */