PPL Logo

Ck::IO::impl::Manager Class Reference

Inheritance diagram for Ck::IO::impl::Manager:

Inheritance graph
[legend]
Collaboration diagram for Ck::IO::impl::Manager:

Collaboration graph
[legend]

Public Member Functions

 Manager ()
 Manager (CkMigrateMessage *m)
void pup (PUP::er &p)
void prepareFile (FileToken token, string name, Options opts)
impl::FileInfoget (FileToken token)
void write (Session session, const char *data, size_t bytes, size_t offset)
void doClose (FileToken token, CkCallback closed)
int procNum (int arrayHdl, const CkArrayIndex &element)

Private Member Functions

int lastActivePE (const Options &opts)

Private Attributes

Manager_SDAG_CODE int opnum
map< FileToken, impl::FileInfofiles

Detailed Description

Definition at line 155 of file ckio.C.


Constructor & Destructor Documentation

Ck::IO::impl::Manager::Manager (  )  [inline]

Definition at line 160 of file ckio.C.

References Converse::CkMyPe().

Here is the call graph for this function:

Ck::IO::impl::Manager::Manager ( CkMigrateMessage m  )  [inline]

Definition at line 168 of file ckio.C.


Member Function Documentation

void Ck::IO::impl::Manager::pup ( PUP::er p  )  [inline]

Definition at line 175 of file ckio.C.

References files, and opnum.

void Ck::IO::impl::Manager::prepareFile ( FileToken  token,
string  name,
Options  opts 
) [inline]

impl::FileInfo* Ck::IO::impl::Manager::get ( FileToken  token  )  [inline]

Definition at line 193 of file ckio.C.

References CmiOpen(), Ck::IO::impl::fatalError(), fd, files, and name.

Here is the call graph for this function:

void Ck::IO::impl::Manager::write ( Session  session,
const char *  data,
size_t  bytes,
size_t  offset 
) [inline]

Definition at line 214 of file ckio.C.

References Ck::IO::Session::bytes, Ck::IO::Session::file, files, min(), Ck::IO::Session::offset, Ck::IO::Options::peStripe, and Ck::IO::Session::sessionID.

Here is the call graph for this function:

void Ck::IO::impl::Manager::doClose ( FileToken  token,
CkCallback  closed 
) [inline]

Definition at line 236 of file ckio.C.

References Ck::IO::close(), Ck::IO::impl::fatalError(), fd, files, and name.

Here is the call graph for this function:

int Ck::IO::impl::Manager::procNum ( int  arrayHdl,
const CkArrayIndex &  element 
) [inline]

Definition at line 254 of file ckio.C.

int Ck::IO::impl::Manager::lastActivePE ( const Options opts  )  [inline, private]


Field Documentation

Manager_SDAG_CODE int Ck::IO::impl::Manager::opnum [private]

Definition at line 157 of file ckio.C.

Referenced by pup().

Definition at line 264 of file ckio.C.

Referenced by doClose(), get(), prepareFile(), pup(), and write().


The documentation for this class was generated from the following file:

Generated on Mon Sep 21 08:33:39 2020 for Charm++ by  doxygen 1.5.5