Changeset 2593
- Timestamp:
- 10/11/23 10:18:24 (15 months ago)
- Location:
- XIOS3/trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/backtrace.cpp
r2575 r2593 7 7 namespace xios 8 8 { 9 namespace Mem Track9 namespace MemCppTrack 10 10 { 11 11 void backTrace(std::ostringstream& stack, int n) -
XIOS3/trunk/src/backtrace.hpp
r2575 r2593 7 7 namespace xios 8 8 { 9 namespace Mem Track9 namespace MemCppTrack 10 10 { 11 11 void backTrace(std::ostringstream& stack, int n=0) ; -
XIOS3/trunk/src/mpi_garbage_collector.hpp
r2589 r2593 22 22 23 23 void registerCommunicator(MPI_Comm& comm, std::string str) { stack_.push_front(SType{SType::COMM, comm, MPI_WIN_NULL, str}) ;} 24 void registerCommunicator(MPI_Comm& comm) { stack_.push_front(SType{SType::COMM, comm, MPI_WIN_NULL, Mem Track::backTrace(2)}) ;}24 void registerCommunicator(MPI_Comm& comm) { stack_.push_front(SType{SType::COMM, comm, MPI_WIN_NULL, MemCppTrack::backTrace(2)}) ;} 25 25 void registerWindow(MPI_Win& win, std::string str) { stack_.push_front(SType{SType::WIN, MPI_COMM_NULL, win, str}) ;} 26 void registerWindow(MPI_Win& win) { stack_.push_front(SType{SType::WIN, MPI_COMM_NULL, win, Mem Track::backTrace(2)}) ;}26 void registerWindow(MPI_Win& win) { stack_.push_front(SType{SType::WIN, MPI_COMM_NULL, win, MemCppTrack::backTrace(2)}) ;} 27 27 void release(void) 28 28 { -
XIOS3/trunk/src/mpi_tools.cpp
r2584 r2593 14 14 { 15 15 auto it = commTrack_.find(comm) ; 16 if (it == commTrack_.end()) commTrack_[comm] = Mem Track::backTrace(3);16 if (it == commTrack_.end()) commTrack_[comm] = MemCppTrack::backTrace(3); 17 17 else ERROR("CCommtrack::registerComm", << "Communicator already allocated : " << endl<<it->second) 18 18 }
Note: See TracChangeset
for help on using the changeset viewer.