ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dce-debug.cc File Reference
#include "utils.h"
#include "process.h"
#include "loader-factory.h"
#include "task-manager.h"
#include "ns3/log.h"
#include "ns3/breakpoint.h"
#include <list>
#include <algorithm>
+ Include dependency graph for dce-debug.cc:

Go to the source code of this file.

Functions

bool dce_debug_is_node (uint32_t node)
void * dce_debug_lookup (char *str)
void dce_debug_monitor (uint32_t node)
uint32_t dce_debug_nodeid (void)
const char * dce_debug_processname (void)
static void dce_debug_switch_notify (void)
void dce_debug_unmonitor (uint32_t node)
 NS_LOG_COMPONENT_DEFINE ("SimuDebug")

Variables

static std::list< uint32_t > g_dce_debug_nodes

Function Documentation

bool dce_debug_is_node ( uint32_t  node)

Definition at line 39 of file dce-debug.cc.

References g_dce_debug_nodes.

Referenced by dce_debug_monitor(), and dce_debug_switch_notify().

+ Here is the caller graph for this function:

void* dce_debug_lookup ( char *  str)

Definition at line 16 of file dce-debug.cc.

References ns3::Current(), ns3::Process::loader, ns3::Loader::Lookup(), ns3::Process::mainHandle, ns3::Thread::process, and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

void dce_debug_monitor ( uint32_t  node)

Definition at line 53 of file dce-debug.cc.

References ns3::TaskManager::Current(), dce_debug_is_node(), dce_debug_switch_notify(), g_dce_debug_nodes, and ns3::TaskManager::SetSwitchNotify().

+ Here is the call graph for this function:

uint32_t dce_debug_nodeid ( void  )

Definition at line 27 of file dce-debug.cc.

References ns3::Current(), and ns3::UtilsGetNodeId().

Referenced by dce_debug_switch_notify().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const char* dce_debug_processname ( void  )

Definition at line 32 of file dce-debug.cc.

References ns3::Current(), ns3::Process::name, ns3::Thread::process, and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

static void dce_debug_switch_notify ( void  )
static

Definition at line 45 of file dce-debug.cc.

References ns3::Current(), dce_debug_is_node(), and dce_debug_nodeid().

Referenced by dce_debug_monitor().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void dce_debug_unmonitor ( uint32_t  node)

Definition at line 62 of file dce-debug.cc.

References ns3::TaskManager::Current(), g_dce_debug_nodes, and ns3::TaskManager::SetSwitchNotify().

+ Here is the call graph for this function:

NS_LOG_COMPONENT_DEFINE ( "SimuDebug"  )

Variable Documentation

std::list<uint32_t> g_dce_debug_nodes
static

Definition at line 14 of file dce-debug.cc.

Referenced by dce_debug_is_node(), dce_debug_monitor(), and dce_debug_unmonitor().