Apply clang-format to source tree
[alexxy/gromacs.git] / src / gromacs / timing / wallcyclereporting.h
index cffbb8e61ac3a8ced7c1381004bfb6ae38699b89..270605772c52ecab644c1f66ac182ad658807bf8 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2008, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -53,22 +53,28 @@ namespace gmx
 class MDLogger;
 }
 
-typedef struct gmx_wallcycle *gmx_wallcycle_t;
+typedef struct gmx_wallcyclegmx_wallcycle_t;
 struct gmx_wallclock_gpu_nbnxn_t;
 struct gmx_wallclock_gpu_pme_t;
 
-typedef std::array<double, ewcNR+ewcsNR> WallcycleCounts;
+typedef std::array<double, ewcNR + ewcsNR> WallcycleCounts;
 /* Convenience typedef */
 
-WallcycleCounts wallcycle_sum(const t_commrec *cr, gmx_wallcycle_t wc);
+WallcycleCounts wallcycle_sum(const t_commreccr, gmx_wallcycle_t wc);
 /* Return a vector of the sum of cycle counts over the nodes in
    cr->mpi_comm_mysim. */
 
-void wallcycle_print(FILE *fplog, const gmx::MDLogger &mdlog, int nnodes, int npme,
-                     int nth_pp, int nth_pme, double realtime,
-                     gmx_wallcycle_t wc, const WallcycleCounts &cyc_sum,
-                     const gmx_wallclock_gpu_nbnxn_t *gpu_nbnxn_t,
-                     const gmx_wallclock_gpu_pme_t *gpu_pme_t);
+void wallcycle_print(FILE*                            fplog,
+                     const gmx::MDLogger&             mdlog,
+                     int                              nnodes,
+                     int                              npme,
+                     int                              nth_pp,
+                     int                              nth_pme,
+                     double                           realtime,
+                     gmx_wallcycle_t                  wc,
+                     const WallcycleCounts&           cyc_sum,
+                     const gmx_wallclock_gpu_nbnxn_t* gpu_nbnxn_t,
+                     const gmx_wallclock_gpu_pme_t*   gpu_pme_t);
 /* Print the cycle and time accounting */
 
 #endif