Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ GetTotalTimeSec
Method
GetTotalTimeSec
libs/routing/route.cpp:98–101 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
96
}
97
98
double Route::GetTotalTimeSec() const
99
{
100
return m_routeSegments.empty() ? 0 : m_routeSegments.back().GetTimeFromBeginningSec();
101
}
102
103
double Route::GetCurrentTimeToEndSec() const
104
{
Callers
7
CalculateRoute
Method · 0.80
DoCalculateRoute
Method · 0.80
UNIT_TEST
Function · 0.80
UNIT_TEST
Function · 0.80
TestRouteTime
Function · 0.80
UNIT_TEST
Function · 0.80
operator()
Method · 0.80
Calls
3
GetTimeFromBeginningSec
Method · 0.80
back
Method · 0.80
empty
Method · 0.45
Tested by
4
UNIT_TEST
Function · 0.64
UNIT_TEST
Function · 0.64
TestRouteTime
Function · 0.64
UNIT_TEST
Function · 0.64