 {
   public:
     Timer(){
-        cudaEventCreate( &start); 
+        cudaEventCreate( &start);
         cudaEventCreate( &stop);
     }
-    /**
-    * @brief Start timer using cudaEventRecord
-    *
-    * @param stream the stream in which the Event is placed
-    */
     void tic( cudaStream_t stream = 0){ cudaEventRecord( start, stream);}
-    /**
-    * @brief Stop timer using cudaEventRecord and Synchronize
-    *
-    * @param stream the stream in which the Event is placed
-    */
-    void toc( cudaStream_t stream = 0){ 
+    void toc( cudaStream_t stream = 0){
         cudaEventRecord( stop, stream);
         cudaEventSynchronize( stop);
     }
-    float diff(){ 
-        float time; 
+    float diff(){
+        float time;
         cudaEventElapsedTime( &time, start, stop);
         return time/1000.;
     }

namespace dg
{
/*! @brief Very simple tool for performance measuring
 * 
 * @code
   dg::Timer t;
   t.tic();

    /**
    * @brief Start timer using MPI_Wtime
    *
    * @param comm the communicator
    * @note uses MPI_Barrier(comm)
    */
    void tic( MPI_Comm comm = MPI_COMM_WORLD ){ MPI_Barrier(comm); start = MPI_Wtime();}
    /**
    * @brief Stop timer using MPI_Wtime
    *
    * @param comm the communicator
    * @note uses MPI_Barrier(comm)
    */
    void toc( MPI_Comm comm = MPI_COMM_WORLD ){ MPI_Barrier(comm); stop = MPI_Wtime(); }
