P4C
The P4 Compiler
Loading...
Searching...
No Matches
MauPower Namespace Reference

Classes

class  BuildPowerGraph
 
class  DeterminePowerUsage
 
class  Edge
 
class  FinalizeMauPredDepsPower
 
class  MauFeatures
 
class  MprSettings
 
class  Node
 
struct  NodeAndEdgeSet
 
struct  PowerMemoryAccess
 
class  SimplePowerGraph
 
class  WalkPowerGraph
 

Enumerations

enum  lut_t { NEXT_TABLE_LUT = 0 , GLOB_EXEC_LUT = 1 , LONG_BRANCH_LUT = 2 }
 
enum  mau_dep_t { DEP_CONCURRENT = 0 , DEP_ACTION = 1 , DEP_MATCH = 2 }
 
enum  stage_feature_t {
  HAS_EXACT = 0 , HAS_TCAM = 1 , HAS_STATS = 2 , HAS_SEL = 3 ,
  HAS_LPF_OR_WRED = 4 , HAS_STFUL = 5 , WIDE_SEL = 6
}
 

Functions

std::string float2str (double d)
 
std::ostream & operator<< (std::ostream &out, const MprSettings &m)
 
std::ostream & operator<< (std::ostream &out, mau_dep_t dep)
 
std::string toString (mau_dep_t dep)
 

Detailed Description

Copyright (C) 2024 Intel Corporation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

SPDX-License-Identifier: Apache-2.0


Class Documentation

◆ MauPower::NodeAndEdgeSet

struct MauPower::NodeAndEdgeSet
Class Members
set< const Edge * > edges
set< const Node * > nodes