[rocprof-sys] Use fmt APIs to construct strings instead of JOIN (#2643)
## Motivation With the introduction of the new logging system base on `spdlog` library, opportunity shows to replace `timemory` dependent JOIN implementation with `fmt` library `format` and `join` APIs, which are shipped as a part of `spdlog` lib ## Technical Details Use `fmt` provided APIs to properly format and package strings.
This commit is contained in:
@@ -239,7 +239,7 @@ post_process()
|
||||
// if(get_debug() && get_verbose() >= 2)
|
||||
if(true)
|
||||
{
|
||||
auto _addr = TIMEMORY_JOIN("", "0x", std::hex, itr.address);
|
||||
auto _addr = fmt::format("0x{:x}", itr.address);
|
||||
ofs << std::setw(8) << itr.count << " " << std::setw(8) << _addr
|
||||
<< " " << itr.source << "\n";
|
||||
}
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user