We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22ab14c commit 2bff03bCopy full SHA for 2bff03b
paddle/fluid/platform/profiler.cc
@@ -463,7 +463,7 @@ void SetProfileListener() {
463
std::mt19937 rng;
464
rng.seed(std::random_device()());
465
std::uniform_int_distribution<std::mt19937::result_type> dist6(
466
- 1, std::numeric_limits<int64_t>::max());
+ 1, std::numeric_limits<std::mt19937::result_type>::max());
467
profiler_lister_id = dist6(rng);
468
}
469
int64_t ListenerId() { return profiler_lister_id; }
0 commit comments