Public Member Functions | |
Manager () | |
Manager (CkMigrateMessage *m) | |
void | pup (PUP::er &p) |
void | prepareFile (FileToken token, string name, Options opts) |
impl::FileInfo * | get (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::FileInfo > | files |
Definition at line 155 of file ckio.C.
Ck::IO::impl::Manager::Manager | ( | ) | [inline] |
Definition at line 160 of file ckio.C.
References Converse::CkMyPe().
Ck::IO::impl::Manager::Manager | ( | CkMigrateMessage * | m | ) | [inline] |
void Ck::IO::impl::Manager::pup | ( | PUP::er & | p | ) | [inline] |
Definition at line 183 of file ckio.C.
References Ck::IO::impl::director, files, CkReduction::max_int, Ck::IO::Options::peStripe, and Ck::IO::Options::writeStripe.
impl::FileInfo* Ck::IO::impl::Manager::get | ( | FileToken | token | ) | [inline] |
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.
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.
Definition at line 266 of file ckio.C.
References Ck::IO::Options::activePEs, Ck::IO::Options::basePE, and Ck::IO::Options::skipPEs.
Manager_SDAG_CODE int Ck::IO::impl::Manager::opnum [private] |
map<FileToken, impl::FileInfo> Ck::IO::impl::Manager::files [private] |