diff options
author | austriancoder <austriancoder> | 2004-08-24 20:49:15 +0000 |
---|---|---|
committer | austriancoder <austriancoder> | 2004-08-24 20:49:15 +0000 |
commit | c5bc3217189fa255ebefd183489d2a3da785d9ee (patch) | |
tree | 0b7bc8ec104241babcfb0e00e775ea6c5a2aa835 | |
parent | 791ae1aa43007dd0cd17baeb5f7a068689707798 (diff) | |
download | vdr-plugin-dxr3-c5bc3217189fa255ebefd183489d2a3da785d9ee.tar.gz vdr-plugin-dxr3-c5bc3217189fa255ebefd183489d2a3da785d9ee.tar.bz2 |
gcc 2.95 fix
-rw-r--r-- | dxr3memcpy.c | 7 | ||||
-rw-r--r-- | dxr3memcpy.h | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/dxr3memcpy.c b/dxr3memcpy.c index 3a545f3..95a5cfc 100644 --- a/dxr3memcpy.c +++ b/dxr3memcpy.c @@ -408,13 +408,13 @@ cDxr3MemcpyBench::cDxr3MemcpyBench(uint32_t config_flags) } // count 100 runs of the memcpy function - t = rdtsc(); + t = Rdtsc(); for (j = 0; j < 50; j++) { m_methods[i].function(buf2,buf1,BUFSIZE); m_methods[i].function(buf1,buf2,BUFSIZE); } - t = rdtsc() - t; + t = Rdtsc() - t; m_methods[i].time = t; @@ -435,10 +435,9 @@ cDxr3MemcpyBench::cDxr3MemcpyBench(uint32_t config_flags) free(buf2); } - // ================================== // neede for exact timing -unsigned long long int cDxr3MemcpyBench::rdtsc() +unsigned long long int cDxr3MemcpyBench::Rdtsc() { // #ifdef ARCH_X86 unsigned long long int x; diff --git a/dxr3memcpy.h b/dxr3memcpy.h index e360b32..50d7581 100644 --- a/dxr3memcpy.h +++ b/dxr3memcpy.h @@ -88,7 +88,7 @@ public: cDxr3MemcpyBench(uint32_t config_flags = 0); private: - unsigned long long int rdtsc(); + unsigned long long int Rdtsc(); vector<memcpy_routine> m_methods; }; |