Functions | Variables
sink.cc File Reference
#include "stage.hh"
Include dependency graph for sink.cc:

Go to the source code of this file.

Functions

int Delivery (Model *, void *)
 
int Init (Model *mod)
 

Variables

unsigned int total = 0
 

Function Documentation

◆ Delivery()

int Delivery ( Model ,
void *   
)

printf( "Delivery: %.2f %d %.2f %.2f\n", mod->GetWorld()->SimTimeNow() / 1e6, mod->GetFlagCount(), total, dynamic_cast<WorldGui*>(mod->GetWorld())->EnergyString().c_str() );

      Stg::PowerPack::global_input / 1e3,
      Stg::PowerPack::global_dissipated / 1e3 );

Definition at line 6 of file sink.cc.

◆ Init()

int Init ( Model mod)

Definition at line 25 of file sink.cc.

Variable Documentation

◆ total

unsigned int total = 0

Definition at line 4 of file sink.cc.



stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Feb 28 2022 23:48:56