Home
last modified time | relevance | path

Searched refs:requestDiskByteUsage (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/debug/
Ddebug_io_utils_test.cc470 ASSERT_TRUE(DebugFileIO::requestDiskByteUsage(0L)); in TEST_F()
475 ASSERT_FALSE(DebugFileIO::requestDiskByteUsage(100L * 1024L * 1024L * 1024L)); in TEST_F()
480 ASSERT_TRUE(DebugFileIO::requestDiskByteUsage(50L * 1024L * 1024L * 1024L)); in TEST_F()
481 ASSERT_FALSE(DebugFileIO::requestDiskByteUsage(50L * 1024L * 1024L * 1024L)); in TEST_F()
482 ASSERT_TRUE(DebugFileIO::requestDiskByteUsage(1024L)); in TEST_F()
487 ASSERT_TRUE(DebugFileIO::requestDiskByteUsage(50L * 1024L * 1024L * 1024L)); in TEST_F()
488 ASSERT_FALSE(DebugFileIO::requestDiskByteUsage(50L * 1024L * 1024L * 1024L)); in TEST_F()
490 ASSERT_TRUE(DebugFileIO::requestDiskByteUsage(50L * 1024L * 1024L * 1024L)); in TEST_F()
496 ASSERT_FALSE(DebugFileIO::requestDiskByteUsage(1024L)); in TEST_F()
497 ASSERT_TRUE(DebugFileIO::requestDiskByteUsage(1000L)); in TEST_F()
[all …]
Ddebug_io_utils.h209 static bool requestDiskByteUsage(uint64 bytes);
Ddebug_io_utils.cc426 if (!DebugFileIO::requestDiskByteUsage(tensorBytes)) { in PublishDebugTensor()
696 bool DebugFileIO::requestDiskByteUsage(uint64 bytes) { in requestDiskByteUsage() function in tensorflow::DebugFileIO