mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Only log slow file listings
This commit is contained in:
parent
3737daaf0c
commit
c6163fd3e4
1 changed files with 3 additions and 1 deletions
|
@ -161,7 +161,9 @@ std::vector<File::FileInfo> Android_ListContentUri(const std::string &path) {
|
|||
env->DeleteLocalRef(fileList);
|
||||
|
||||
double elapsed = time_now_d() - start;
|
||||
INFO_LOG(FILESYS, "Listing directory on content URI took %0.3f s", elapsed);
|
||||
if (elapsed > 0.1) {
|
||||
INFO_LOG(FILESYS, "Listing directory on content URI took %0.3f s (%d files)", elapsed, (int)size);
|
||||
}
|
||||
return items;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue