The ROme OpTimistic Simulator  2.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
process.c File Reference

Generic LP management functions. More...

#include <limits.h>
#include <core/core.h>
#include <core/init.h>
#include <scheduler/process.h>
#include <scheduler/scheduler.h>
+ Include dependency graph for process.c:

Go to the source code of this file.

Functions

void initialize_binding_blocks (void)
 
void initialize_lps (void)
 
struct lp_structfind_lp_by_gid (GID_t gid)
 

Variables

__thread unsigned int __lp_counter = 0
 
__thread unsigned int __lp_bound_counter = 0
 
struct lp_struct ** lps_blocks = NULL
 Maintain LPs' simulation and execution states.
 
__thread struct lp_struct ** lps_bound_blocks = NULL
 

Detailed Description

Generic LP management functions.

Generic LP management functions

This file is part of ROOT-Sim (ROme OpTimistic Simulator).

ROOT-Sim is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; only version 3 of the License applies.

ROOT-Sim is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with ROOT-Sim; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Author
Alessandro Pellegrini
Francesco Quaglia
Date
December 14, 2017

Definition in file process.c.

Variable Documentation

__thread struct lp_struct** lps_bound_blocks = NULL

Each KLT has a binding towards some LPs. This is the structure used to keep track of LPs currently being handled

Definition at line 49 of file process.c.