.. index:: pair: struct; cpmdc_pwscale_stats .. _doxid-structcpmdc__pwscale__stats: struct cpmdc_pwscale_stats ========================== .. toctree:: :hidden: Overview ~~~~~~~~ Timers and visit counts from one scaffold evaluation. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct cpmdc_pwscale_stats { // fields double :ref:`energy_h`; double :ref:`seconds`; double :ref:`h2d_seconds`; double :ref:`d2h_seconds`; long long :ref:`g_visited`; long long :ref:`atom_visits`; long long :ref:`alloc_bytes`; int :ref:`workers`; int :ref:`mpi_ranks`; }; .. _details-structcpmdc__pwscale__stats: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Timers and visit counts from one scaffold evaluation. Fields ------ .. index:: pair: variable; energy_h .. _doxid-structcpmdc__pwscale__stats_1a7a14807852fce94ecfe0fdbfdf831d51: .. ref-code-block:: cpp :class: doxyrest-title-code-block double energy_h Energy, Hartree. .. index:: pair: variable; seconds .. _doxid-structcpmdc__pwscale__stats_1ad848d03c79610d67889bef05f21ec1c8: .. ref-code-block:: cpp :class: doxyrest-title-code-block double seconds Wall time of the evaluated region, seconds. .. index:: pair: variable; h2d_seconds .. _doxid-structcpmdc__pwscale__stats_1aed29fc0df10bbef8054a2723073eed09: .. ref-code-block:: cpp :class: doxyrest-title-code-block double h2d_seconds Host-to-device time, seconds. Zero on the CPU path. .. index:: pair: variable; d2h_seconds .. _doxid-structcpmdc__pwscale__stats_1a01bfec00df13a73704092cccbfc288bc: .. ref-code-block:: cpp :class: doxyrest-title-code-block double d2h_seconds Device-to-host time, seconds. Zero on the CPU path. .. index:: pair: variable; g_visited .. _doxid-structcpmdc__pwscale__stats_1a26d2cd6641bca9ce1cbce6da2cc56e06: .. ref-code-block:: cpp :class: doxyrest-title-code-block long long g_visited Plane waves visited. .. index:: pair: variable; atom_visits .. _doxid-structcpmdc__pwscale__stats_1afb600c19ec4c6642381dfe8b744d5872: .. ref-code-block:: cpp :class: doxyrest-title-code-block long long atom_visits Atom visits. .. index:: pair: variable; alloc_bytes .. _doxid-structcpmdc__pwscale__stats_1a2f3a28b50009ded9afc84eda83da5dae: .. ref-code-block:: cpp :class: doxyrest-title-code-block long long alloc_bytes Bytes allocated for the evaluation. .. index:: pair: variable; workers .. _doxid-structcpmdc__pwscale__stats_1afc299b39f592a94a9834ad079551982d: .. ref-code-block:: cpp :class: doxyrest-title-code-block int workers OpenMP team that ran, from omp_get_num_threads, else 1. .. index:: pair: variable; mpi_ranks .. _doxid-structcpmdc__pwscale__stats_1acacebccd52c3c5d87e3f10002c28b1dc: .. ref-code-block:: cpp :class: doxyrest-title-code-block int mpi_ranks Communicator size, or 1 when the call is not MPI.