summaryrefslogtreecommitdiff
path: root/dxr3memcpy.h
diff options
context:
space:
mode:
authorscop <scop>2005-04-18 19:17:40 +0000
committerscop <scop>2005-04-18 19:17:40 +0000
commit37c4c7b0a4a388d6c933e95756ddd30dd0cca6fd (patch)
tree273ceb29e8631796f83b88e3a133dbab4ccbe2c7 /dxr3memcpy.h
parent4d4c6bb89da5b1cc3eff554412ea834337308cd5 (diff)
downloadvdr-plugin-dxr3-37c4c7b0a4a388d6c933e95756ddd30dd0cca6fd.tar.gz
vdr-plugin-dxr3-37c4c7b0a4a388d6c933e95756ddd30dd0cca6fd.tar.bz2
Add (X)Emacs indentation settings.
Diffstat (limited to 'dxr3memcpy.h')
-rw-r--r--dxr3memcpy.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/dxr3memcpy.h b/dxr3memcpy.h
index 977af5d..15d0e1f 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
};
// ==================================