Bitcoin Core  0.20.99
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
benchmark::PlotlyPrinter Class Reference

#include <bench.h>

Inheritance diagram for benchmark::PlotlyPrinter:
[legend]
Collaboration diagram for benchmark::PlotlyPrinter:
[legend]

Public Member Functions

 PlotlyPrinter (std::string plotly_url, int64_t width, int64_t height)
 
void header () override
 
void result (const State &state) override
 
void footer () override
 
- Public Member Functions inherited from benchmark::Printer
virtual ~Printer ()
 

Private Attributes

std::string m_plotly_url
 
int64_t m_width
 
int64_t m_height
 

Detailed Description

Definition at line 119 of file bench.h.

Constructor & Destructor Documentation

◆ PlotlyPrinter()

benchmark::PlotlyPrinter::PlotlyPrinter ( std::string  plotly_url,
int64_t  width,
int64_t  height 
)

Definition at line 52 of file bench.cpp.

Member Function Documentation

◆ footer()

void benchmark::PlotlyPrinter::footer ( )
overridevirtual

Implements benchmark::Printer.

Definition at line 83 of file bench.cpp.

◆ header()

void benchmark::PlotlyPrinter::header ( )
overridevirtual

Implements benchmark::Printer.

Definition at line 57 of file bench.cpp.

◆ result()

void benchmark::PlotlyPrinter::result ( const State state)
overridevirtual

Implements benchmark::Printer.

Definition at line 66 of file bench.cpp.

Member Data Documentation

◆ m_height

int64_t benchmark::PlotlyPrinter::m_height
private

Definition at line 130 of file bench.h.

◆ m_plotly_url

std::string benchmark::PlotlyPrinter::m_plotly_url
private

Definition at line 128 of file bench.h.

◆ m_width

int64_t benchmark::PlotlyPrinter::m_width
private

Definition at line 129 of file bench.h.


The documentation for this class was generated from the following files: