[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:
marantic-amd
2026-01-23 06:34:58 +01:00
committato da GitHub
parent 3318c540ea
commit 956a73c4c8
38 ha cambiato i file con 356 aggiunte e 357 eliminazioni
@@ -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";
}