Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for max_micros (0.15 sec)

  1. tensorflow/compiler/aot/benchmark.h

    struct Options {
      // kDefaultMicros specifies the default time to run the benchmark, and is used
      // if neither max_iters nor max_micros is set.
      static constexpr int64_t kDefaultMicros = 3000000;
    
      int64_t max_iters = 0;   // Maximum iterations to run, ignored if <= 0.
      int64_t max_micros = 0;  // Maximum microseconds to run, ignored if <= 0.
    };
    
    // Stats holds statistics collected during benchmarking.
    struct Stats {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/benchmark.cc

      // If neither max_seconds or max_iters is set, stop at kDefaultMicros.
      const int64_t max_us = (options.max_micros <= 0 && options.max_iters <= 0)
                                 ? Options::kDefaultMicros
                                 : options.max_micros;
      // NOLINTNEXTLINE
      printf("Running benchmark for %lld us\n", static_cast<long long>(max_us));
      const int64_t start_us = NowMicros();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 19:45:29 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top