mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Use cached source files.
This commit is contained in:
@@ -8,6 +8,7 @@ namespace tracy
|
||||
{
|
||||
|
||||
class View;
|
||||
class Worker;
|
||||
|
||||
static inline bool FileExists( const char* fn )
|
||||
{
|
||||
@@ -15,7 +16,7 @@ static inline bool FileExists( const char* fn )
|
||||
return stat( fn, &buf ) == 0 && ( buf.st_mode & S_IFREG ) != 0;
|
||||
}
|
||||
|
||||
bool SourceFileValid( const char* fn, uint64_t olderThan, const View& view );
|
||||
bool SourceFileValid( const char* fn, uint64_t olderThan, const View& view, const Worker& worker );
|
||||
bool SourceFileValid( const char* fn, uint64_t olderThan );
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user