diff options
author | scop <scop> | 2005-04-18 19:26:16 +0000 |
---|---|---|
committer | scop <scop> | 2005-04-18 19:26:16 +0000 |
commit | f8a3d81fc0b548a0f76e205fee433e4c94a4ee57 (patch) | |
tree | 2f69513d7d57e15b920c8eb4bb4b4a877d5b0881 /dxr3memcpy.h | |
parent | 37c4c7b0a4a388d6c933e95756ddd30dd0cca6fd (diff) | |
download | vdr-plugin-dxr3-f8a3d81fc0b548a0f76e205fee433e4c94a4ee57.tar.gz vdr-plugin-dxr3-f8a3d81fc0b548a0f76e205fee433e4c94a4ee57.tar.bz2 |
Oops, wrong tree... revert.
Diffstat (limited to 'dxr3memcpy.h')
-rw-r--r-- | dxr3memcpy.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/dxr3memcpy.h b/dxr3memcpy.h index 15d0e1f..977af5d 100644 --- a/dxr3memcpy.h +++ b/dxr3memcpy.h @@ -55,34 +55,34 @@ // ================================== /*! \def BUFSIZE - \brief size of buffers for benchmark :) + \brief size of buffers for benchmark :) */ #define BUFSIZE 1024*1024 // ================================== struct memcpy_routine { - std::string name; ///< name of memcpy methode - void *(* function)(void *to, const void *from, size_t len); ///< our memcopy methode - unsigned long long time; ///< needed time for banchmark - uint32_t cpu_require; ///< caps from dxr3cpu.h + std::string name; ///< name of memcpy methode + void *(* function)(void *to, const void *from, size_t len); ///< our memcopy methode + unsigned long long time; ///< needed time for banchmark + uint32_t cpu_require; ///< caps from dxr3cpu.h }; // ================================== //! Little class to do a nice benchmark /* - Whith this class we can get the fastest memcyp - methode for target computer. + Whith this class we can get the fastest memcyp + methode for target computer. */ class cDxr3MemcpyBench { - public: - cDxr3MemcpyBench(uint32_t config_flags = 0); +public: + cDxr3MemcpyBench(uint32_t config_flags = 0); - private: - unsigned long long int Rdtsc(uint32_t config_flags); +private: + unsigned long long int Rdtsc(uint32_t config_flags); - std::vector<memcpy_routine> m_methods; ///< a std::vector with all methodes + std::vector<memcpy_routine> m_methods; ///< a std::vector with all methodes }; // ================================== |