Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
stats.h File Reference
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
#include "absl/container/flat_hash_map.h"
#include "absl/strings/string_view.h"
#include "absl/time/time.h"
#include "ortools/base/timer.h"

Go to the source code of this file.

Classes

class  operations_research::Stat
class  operations_research::StatsGroup
class  operations_research::DistributionStat
class  operations_research::TimeDistribution
class  operations_research::RatioDistribution
class  operations_research::DoubleDistribution
class  operations_research::IntegerDistribution
class  operations_research::EnabledScopedTimeDistributionUpdater
class  operations_research::DisabledScopedTimeDistributionUpdater
class  operations_research::DisabledScopedTimeStats
class  operations_research::EnabledScopedTimeStats

Namespaces

namespace  operations_research
 OR-Tools root namespace.

Macros

#define IF_STATS_ENABLED(instructions)
#define SCOPED_TIME_STAT(stats)
#define SCOPED_INSTRUCTION_COUNT(time_limit)

Typedefs

using operations_research::ScopedTimeDistributionUpdater = DisabledScopedTimeDistributionUpdater
using operations_research::ScopedTimeStats = DisabledScopedTimeStats

Functions

std::string operations_research::MemoryUsage ()

Macro Definition Documentation

◆ IF_STATS_ENABLED

#define IF_STATS_ENABLED ( instructions)
Value:
if constexpr (false) { \
instructions; \
}

Definition at line 412 of file stats.h.

◆ SCOPED_INSTRUCTION_COUNT

#define SCOPED_INSTRUCTION_COUNT ( time_limit)

Definition at line 422 of file stats.h.

◆ SCOPED_TIME_STAT

#define SCOPED_TIME_STAT ( stats)
Value:
operations_research::ScopedTimeStats scoped_time_stat(stats, __FUNCTION__);
DisabledScopedTimeStats ScopedTimeStats
Definition stats.h:408

Definition at line 419 of file stats.h.