TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::route::WorkCounts Struct Reference

Work profile (doc 10 §2, D88): how many of each costly operation a run did, per phase. More...

#include <route/router.hpp>

Public Member Functions

WorkCounts & operator+= (const WorkCounts &o)

Public Attributes

long expansions = 0
 A* states expanded (strict, negotiated and coupled-pair searches).
long flood_cells = 0
 cells visited by the reachability pre-check
long searches = 0
 A* searches and pre-checks started.
long cell_checks = 0
 lattice points whose legality a search evaluated (per-search cache misses)
long fixed_checks = 0
 fixed-copper legality computations (per-class cache misses, tracks and vias)
long field_cells = 0
 cost-to-go field cells computed (window x layers per field)
long fields = 0
long commits = 0
 found paths checked exactly before committing
long rips = 0
 routed connections ripped up by negotiation

Detailed Description

Work profile (doc 10 §2, D88): how many of each costly operation a run did, per phase.

The counts depend only on the board, the options and the work budget, so the same job gives the same profile on any machine and at any thread count. The –work budget charges expansions and flood cells; the other counts are what it does not charge.

Definition at line 269 of file router.hpp.

Member Function Documentation

◆ operator+=()

WorkCounts & tmk::route::WorkCounts::operator+= ( const WorkCounts & o)

Member Data Documentation

◆ cell_checks

long tmk::route::WorkCounts::cell_checks = 0

lattice points whose legality a search evaluated (per-search cache misses)

Definition at line 273 of file router.hpp.

◆ commits

long tmk::route::WorkCounts::commits = 0

found paths checked exactly before committing

Definition at line 277 of file router.hpp.

◆ expansions

long tmk::route::WorkCounts::expansions = 0

A* states expanded (strict, negotiated and coupled-pair searches).

Definition at line 270 of file router.hpp.

◆ field_cells

long tmk::route::WorkCounts::field_cells = 0

cost-to-go field cells computed (window x layers per field)

Definition at line 275 of file router.hpp.

◆ fields

long tmk::route::WorkCounts::fields = 0

Definition at line 276 of file router.hpp.

◆ fixed_checks

long tmk::route::WorkCounts::fixed_checks = 0

fixed-copper legality computations (per-class cache misses, tracks and vias)

Definition at line 274 of file router.hpp.

◆ flood_cells

long tmk::route::WorkCounts::flood_cells = 0

cells visited by the reachability pre-check

Definition at line 271 of file router.hpp.

◆ rips

long tmk::route::WorkCounts::rips = 0

routed connections ripped up by negotiation

Definition at line 278 of file router.hpp.

◆ searches

long tmk::route::WorkCounts::searches = 0

A* searches and pre-checks started.

Definition at line 272 of file router.hpp.


The documentation for this struct was generated from the following file: