PPL Logo

libs/ck-libs/tcharm/tcharmc.h File Reference

Go to the source code of this file.

Typedefs

typedef void(* TCHARM_Thread_start_fn )(void)
typedef void(* TCHARM_Thread_data_start_fn )(void *threadData)
typedef void(* TCHARM_Pup_fn )(pup_er p, void *data)
typedef void(* TCHARM_Pup_global_fn )(pup_er p)

Functions

void TCHARM_User_node_setup (void)
void TCHARM_User_setup (void)
void TCHARM_Call_fallback_setup (void)
void TCHARM_Set_stack_size (int newStackSize)
void TCHARM_Set_exit (void)
int TCHARM_Get_num_chunks (void)
void TCHARM_Create (int nThreads, int threadFn)
void TCHARM_Create_data (int nThreads, int threadFn, void *threadData, int threadDataLen)
int TCHARM_Register_thread_function (TCHARM_Thread_data_start_fn fn)
int TCHARM_Element (void)
int TCHARM_Num_elements (void)
void TCHARM_Barrier (void)
void TCHARM_Migrate (void)
void TCHARM_Async_Migrate (void)
void TCHARM_Allow_Migrate (void)
void TCHARM_Migrate_to (int destPE)
void TCHARM_Evacuate ()
int TCHARM_System (const char *shell_command)
void TCHARM_Done (void)
void TCHARM_Yield (void)
int TCHARM_Register (void *data, TCHARM_Pup_fn pfn)
void * TCHARM_Get_userdata (int id)
void TCHARM_Set_global (int globalID, void *new_value, TCHARM_Pup_global_fn pup_or_NULL)
void * TCHARM_Get_global (int globalID)
double TCHARM_Wall_timer (void)
void TCHARM_Init (int *argc, char ***argv)
void TCHARM_In_user_setup (void)


Typedef Documentation

typedef void(* TCHARM_Thread_start_fn)(void)

Definition at line 33 of file tcharmc.h.

typedef void(* TCHARM_Thread_data_start_fn)(void *threadData)

Definition at line 37 of file tcharmc.h.

typedef void(* TCHARM_Pup_fn)(pup_er p, void *data)

Definition at line 58 of file tcharmc.h.

typedef void(* TCHARM_Pup_global_fn)(pup_er p)

Definition at line 63 of file tcharmc.h.


Function Documentation

void TCHARM_User_node_setup ( void   ) 

Definition at line 3 of file compat_uns.c.

Referenced by TCharmMain::nodeInit().

void TCHARM_User_setup ( void   ) 

Definition at line 3 of file compat_us.c.

References TCHARM_Call_fallback_setup().

Referenced by FTN_NAME().

void TCHARM_Call_fallback_setup ( void   ) 

Definition at line 654 of file tcharm.C.

References g_fallbackSetup.

Referenced by TCHARM_User_setup().

void TCHARM_Set_stack_size ( int  newStackSize  ) 

Definition at line 697 of file tcharm.C.

References g_tcharmOptions, and TCHARM_Thread_options::stackSize.

Referenced by FTN_NAME().

void TCHARM_Set_exit ( void   ) 

Definition at line 706 of file tcharm.C.

References TCHARM_Thread_options::exitWhenDone, and g_tcharmOptions.

Referenced by TCharmMain::TCharmMain().

int TCHARM_Get_num_chunks ( void   ) 

void TCHARM_Create ( int  nThreads,
int  threadFn 
)

Definition at line 709 of file tcharm.C.

References TCHARM_Create_data().

Referenced by ArmciDefaultSetup(), FTN_NAME(), and MBlockFallbackSetup().

void TCHARM_Create_data ( int  nThreads,
int  threadFn,
void *  threadData,
int  threadDataLen 
)

int TCHARM_Register_thread_function ( TCHARM_Thread_data_start_fn  fn  ) 

int TCHARM_Element ( void   ) 

int TCHARM_Num_elements ( void   ) 

Definition at line 810 of file tcharm.C.

References TCharm::get(), and TCharm::getNumElements().

Referenced by ARMCI_Procs(), FTN_NAME(), and MBLK_Get_nblocks().

void TCHARM_Barrier ( void   ) 

void TCHARM_Migrate ( void   ) 

Definition at line 880 of file tcharm.C.

References Converse::CkMyPe(), CthMigratable(), TCharm::get(), and TCharm::migrate().

Referenced by AMPI_Migrate(), and ARMCI_Migrate().

void TCHARM_Async_Migrate ( void   ) 

void TCHARM_Allow_Migrate ( void   ) 

Referenced by AMPI_Allow_Migrate().

void TCHARM_Migrate_to ( int  destPE  ) 

Referenced by AMPI_Migrateto().

void TCHARM_Evacuate (  ) 

Definition at line 912 of file tcharm.C.

References TCharm::evacuate(), and TCharm::get().

Referenced by AMPI_Evacuate().

int TCHARM_System ( const char *  shell_command  ) 

Definition at line 1087 of file tcharm.C.

References TCharm::get(), and TCharm::system().

Referenced by AMPI_System().

void TCHARM_Done ( void   ) 

Definition at line 80 of file ckstandalone.C.

Referenced by AMPI_Exit(), and ARMCI_Finalize().

void TCHARM_Yield ( void   ) 

int TCHARM_Register ( void *  data,
TCHARM_Pup_fn  pfn 
)

Definition at line 837 of file tcharm.C.

References TCharm::add(), checkAddress(), and TCharm::get().

Referenced by AMPI_Register(), and MBLK_Register().

void* TCHARM_Get_userdata ( int  id  ) 

Definition at line 851 of file tcharm.C.

References TCharm::get(), and TCharm::lookupUserData().

Referenced by FTN_NAME(), MBLK_Get_registered(), and MPI_Get_userdata().

void TCHARM_Set_global ( int  globalID,
void *  new_value,
TCHARM_Pup_global_fn  pup_or_NULL 
)

Definition at line 860 of file tcharm.C.

References TCharm::get(), TCharm::getThread(), TCharm::sud, and tc_globals.

Referenced by FEM_Init(), IDXL_Init(), pupFEM_Chunk(), and pupIDXL_Chunk().

void* TCHARM_Get_global ( int  globalID  ) 

double TCHARM_Wall_timer ( void   ) 

Referenced by AMPI_Wtime(), and MBLK_Timer().

void TCHARM_Init ( int argc,
char ***  argv 
)

Definition at line 980 of file tcharm.C.

References _initCharm(), and ConverseInit().

Referenced by FTN_NAME().

void TCHARM_In_user_setup ( void   ) 


Generated on Sat May 26 08:08:11 2012 for Charm++ by  doxygen 1.5.5