diff options
author | Jeff Garzik <jeff@garzik.org> | 2010-11-26 23:12:24 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-11-26 23:12:24 -0500 |
commit | 35ea649d976b938f09f383bbc580872aaa5c61eb (patch) | |
tree | 58da699df11517a9b41ae293f4066b68dba5ae70 /miner.h | |
parent | a50201eb2142f6ea7ffe451c87a341ef158be84e (diff) |
Improve hash performance statistics.
Diffstat (limited to 'miner.h')
-rw-r--r-- | miner.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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__ */ |