Skip to content

Commit

Permalink
Print info message about prefetch score at the end of destructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
alja authored and osschar committed Mar 9, 2016
1 parent 94e4416 commit 2c135f2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/XrdFileCache/XrdFileCacheFile.cc
Expand Up @@ -167,6 +167,12 @@ File::~File()
m_infoFile = NULL;
}
delete m_syncer;




// print just for curiosity
clLog()->Debug(XrdCl::AppMsg, "File::~File() ended, prefetch score ...%d/%d=%.2f", m_prefetchReadCnt, m_prefetchHitCnt, m_prefetchScore);
}

bool File::InitiateClose()
Expand Down

0 comments on commit 2c135f2

Please sign in to comment.