Skip to content

Class Argos::BasicFormatter

ClassList > Argos > BasicFormatter

Default Excel formatter that writes a metadata header followed by a one-row-per-benchmark table. More...

  • #include <basic_formatter.h>

Inherits the following classes: Argos::ExcelFormatter

Public Functions

Type Name
virtual void Fill (lxw_workbook * workbook, const BenchmarkResult & result) override
Fill the given workbook with the formatted result.

Public Functions inherited from Argos::ExcelFormatter

See Argos::ExcelFormatter

Type Name
virtual void Fill (lxw_workbook * workbook, const BenchmarkResult & result) = 0
Fill the given workbook with the formatted result.

Protected Functions inherited from Argos::ExcelFormatter

See Argos::ExcelFormatter

Type Name
lxw_datetime convert_time_t_to_lxw (const time_t & raw_time)
Convert a POSIX time_t to a libxlsxwriterlxw_datetime .

Detailed Description

The columns are: * 0: OBJ file name * 1: iterations * 2: CPU time per operation (ms) * 3: Overall time per operation (ms) * 4..: one column per metric counter

Public Functions Documentation

function Fill

Fill the given workbook with the formatted result.

virtual void Argos::BasicFormatter::Fill (
    lxw_workbook * workbook,
    const BenchmarkResult & result
) override

Parameters:

  • workbook Target workbook.
  • result Source result to format.

Implements Argos::ExcelFormatter::Fill



The documentation for this class was generated from the following file benchmark/exporter/basic_formatter.h