mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Cosmetics.
This commit is contained in:
parent
cddcc389f4
commit
977afb27fb
@ -3089,7 +3089,7 @@ void SourceView::RenderLine( const Tokenizer::Line& line, int lineNum, const Add
|
|||||||
RenderHwLinePart( cycles, retired, branchRetired, branchMiss, cacheRef, cacheMiss, 0, 0, 0, 0, ts );
|
RenderHwLinePart( cycles, retired, branchRetired, branchMiss, cacheRef, cacheMiss, 0, 0, 0, 0, ts );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ImGui::SameLine( 0, 0);
|
ImGui::SameLine( 0, 0 );
|
||||||
const auto endPos = ImGui::GetCursorScreenPos();
|
const auto endPos = ImGui::GetCursorScreenPos();
|
||||||
const auto itemsWidth = ( endPos - startPos ).x;
|
const auto itemsWidth = ( endPos - startPos ).x;
|
||||||
const auto fixedWidth = 17 * ts.x;
|
const auto fixedWidth = 17 * ts.x;
|
||||||
@ -3402,7 +3402,7 @@ void SourceView::RenderAsmLine( AsmLine& line, const AddrStat& ipcnt, const Addr
|
|||||||
RenderHwLinePart( cycles, retired, branchRetired, branchMiss, cacheRef, cacheMiss, 0, 0, 0, 0, ts );
|
RenderHwLinePart( cycles, retired, branchRetired, branchMiss, cacheRef, cacheMiss, 0, 0, 0, 0, ts );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ImGui::SameLine( 0, 0);
|
ImGui::SameLine( 0, 0 );
|
||||||
const auto endPos = ImGui::GetCursorScreenPos();
|
const auto endPos = ImGui::GetCursorScreenPos();
|
||||||
const auto itemsWidth = ( endPos - startPos ).x;
|
const auto itemsWidth = ( endPos - startPos ).x;
|
||||||
const auto fixedWidth = 17 * ts.x;
|
const auto fixedWidth = 17 * ts.x;
|
||||||
@ -3567,7 +3567,7 @@ void SourceView::RenderAsmLine( AsmLine& line, const AddrStat& ipcnt, const Addr
|
|||||||
startPos = ImGui::GetCursorScreenPos();
|
startPos = ImGui::GetCursorScreenPos();
|
||||||
TextDisabledUnformatted( "[unknown]" );
|
TextDisabledUnformatted( "[unknown]" );
|
||||||
}
|
}
|
||||||
ImGui::SameLine( 0, 0);
|
ImGui::SameLine( 0, 0 );
|
||||||
const auto endPos = ImGui::GetCursorScreenPos();
|
const auto endPos = ImGui::GetCursorScreenPos();
|
||||||
const auto itemsWidth = ( endPos - startPos ).x;
|
const auto itemsWidth = ( endPos - startPos ).x;
|
||||||
const auto fixedWidth = 32 * ts.x;
|
const auto fixedWidth = 32 * ts.x;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user