diff options
author | Mark Janes <mark.a.janes@intel.com> | 2016-08-22 14:39:02 -0700 |
---|---|---|
committer | Mark Janes <mark.a.janes@intel.com> | 2017-06-19 14:04:47 -0700 |
commit | 6019136d0b30dcbf4335dd4f8ec4b4259b2564f4 (patch) | |
tree | 0a6086f7499ec74901fda60c4f099a0b1db341ec /retrace/daemon/glframe_os.hpp | |
parent | 341363d7cd5119e4dfb086e1eb1f02557b157885 (diff) |
create a cache directory for storing trace files
Diffstat (limited to 'retrace/daemon/glframe_os.hpp')
-rw-r--r-- | retrace/daemon/glframe_os.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/retrace/daemon/glframe_os.hpp b/retrace/daemon/glframe_os.hpp index d766dec9..4d4386a4 100644 --- a/retrace/daemon/glframe_os.hpp +++ b/retrace/daemon/glframe_os.hpp @@ -32,6 +32,7 @@ #include <mutex> #include <condition_variable> +#include <string> #include "glframe_traits.hpp" @@ -65,6 +66,8 @@ int fork_execv(const char *path, const char *const argv[]); struct tm *glretrace_localtime(const time_t *timep, struct tm *result); +std::string application_cache_directory(); + int glretrace_rand(unsigned int *seedp); void glretrace_delay(unsigned int ms); |