Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 000000 (0.17 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // one second of wall time), it should remove "a" and leave "b" alone.
      uint64 start = Env::Default()->NowSeconds();
      do {
        Env::Default()->SleepForMicroseconds(100000);
      } while (cache.CacheSize() == 24 && Env::Default()->NowSeconds() - start < 3);
      // There should be one block left in the cache, and it should be the first
      // block of "b".
      EXPECT_EQ(cache.CacheSize(), 8);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      absl::MutexLock lock(&mu_);
      return cache_size_;
    }
    
    void RamFileBlockCache::Prune() {
      while (!stop_pruning_thread_.WaitForNotificationWithTimeout(
          absl::Microseconds(1000000))) {
        absl::MutexLock lock(&mu_);
        uint64_t now = timer_seconds_();
        while (!lra_list_.empty()) {
          auto it = block_map_.find(lra_list_.back());
          if (now - it->second->timestamp <= max_staleness_) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental_test.cc

                      server_def_0, tensorflow::Env::Default(), &worker_server2)
                      .ok());
      ASSERT_TRUE(worker_server2->Start().ok());
    
      // Create two contexts.
      int32_t init_timeout_in_ms = 300000;
      TFE_Context* ctx_0 =
          CreateContext(serialized_server_def_0,
                        /*isolate_session_state=*/false, init_timeout_in_ms);
      TFE_Context* ctx_1 =
          CreateContext(serialized_server_def_1,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  4. tensorflow/c/eager/c_api_test.cc

        // This is usually unnecessary, but we've experienced the occasional test
        // failure when testing async mode with no explicit forwarding.
        for (int i = 0; i < 100000; ++i) {
          TFE_Op* add_op_dummy = AddOp(ctx, m, m);
          TFE_OpSetDevice(add_op_dummy, cpu_device_name.c_str(), status);
          ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
Back to top