var searchIndex = {}; searchIndex["profiler"] = {"doc":"","items":[[0,"profiler","profiler","",null,null],[4,"Profiler","profiler::profiler","",null,null],[13,"CacheGrind","","",0,null],[12,"ir","profiler::profiler::Profiler","",0,null],[12,"i1mr","","",0,null],[12,"ilmr","","",0,null],[12,"dr","","",0,null],[12,"d1mr","","",0,null],[12,"dlmr","","",0,null],[12,"dw","","",0,null],[12,"d1mw","","",0,null],[12,"dlmw","","",0,null],[12,"data","","",0,null],[12,"functs","","",0,null],[13,"CallGrind","profiler::profiler","",0,null],[12,"total_instructions","profiler::profiler::Profiler","",0,null],[12,"instructions","","",0,null],[12,"functs","","",0,null],[6,"Mat","profiler::profiler","",null,null],[11,"new_cachegrind","","",0,{"inputs":[],"output":{"name":"profiler"}}],[11,"new_callgrind","","",0,{"inputs":[],"output":{"name":"profiler"}}],[0,"display","profiler","",null,null],[11,"fmt","profiler::profiler","",0,null],[0,"err","profiler","",null,null],[4,"ProfError","profiler::err","Represents potential errors that may occur when profiling",null,null],[13,"RegexError","","",1,null],[13,"InvalidProfiler","","",1,null],[13,"InvalidBinary","","",1,null],[13,"InvalidNum","","",1,null],[13,"InvalidSortMetric","","",1,null],[13,"IOError","","Wraps a std::io::Error",1,null],[13,"UTF8Error","","",1,null],[13,"MisalignedData","","",1,null],[13,"CompilationError","","",1,null],[13,"TomlError","","",1,null],[13,"ReadManifestError","","",1,null],[13,"NoNameError","","",1,null],[13,"NoTargetDirectory","","",1,null],[13,"OutOfMemoryError","","",1,null],[13,"CliError","","",1,null],[11,"fmt","","",1,null],[11,"fmt","","",1,null],[11,"description","","",1,null],[11,"cause","","",1,null],[11,"from","","",1,{"inputs":[{"name":"ioerror"}],"output":{"name":"proferror"}}],[0,"argparse","profiler","",null,null],[5,"get_profiler","profiler::argparse","match the profiler argument",null,{"inputs":[{"name":"argmatches"}],"output":{"name":"result"}}],[5,"get_binary","","match the binary argument",null,{"inputs":[{"name":"argmatches"}],"output":{"name":"result"}}],[5,"get_num","","parse the number argument into a usize",null,{"inputs":[{"name":"argmatches"}],"output":{"name":"result"}}],[5,"get_sort_metric","","get the cachegrind metric user wants to sort on",null,{"inputs":[{"name":"argmatches"}],"output":{"name":"result"}}],[0,"cargo","profiler","",null,null],[5,"find_target","profiler::cargo","Returns the closest ancestor path containing a `target` directory.",null,{"inputs":[],"output":{"name":"option"}}],[5,"get_package_name","","",null,{"inputs":[],"output":{"name":"result"}}],[5,"build_binary","","",null,{"inputs":[{"name":"bool"}],"output":{"name":"result"}}],[0,"parse","profiler","",null,null],[0,"callgrind","profiler::parse","",null,null],[8,"CallGrindParser","profiler::parse::callgrind","",null,null],[10,"callgrind_cli","","",2,null],[10,"callgrind_parse","","",2,null],[11,"callgrind_cli","profiler::profiler","",0,null],[11,"callgrind_parse","","",0,null],[0,"cachegrind","profiler::parse","",null,null],[4,"Metric","profiler::parse::cachegrind","define cachegrind metrics",null,null],[13,"Ir","","",3,null],[13,"I1mr","","",3,null],[13,"ILmr","","",3,null],[13,"Dr","","",3,null],[13,"D1mr","","",3,null],[13,"DLmr","","",3,null],[13,"Dw","","",3,null],[13,"D1mw","","",3,null],[13,"DLmw","","",3,null],[13,"NAN","","",3,null],[5,"sort_matrix","","Utility function for sorting a matrix. used to sort cachegrind data by particular metric (descending)",null,null],[6,"Mat","","initialize matrix object",null,null],[8,"CacheGrindParser","","Parser trait. To parse the output of Profilers, we first have to get their output from\nthe command line, and then parse the output into respective structs.",null,null],[10,"cachegrind_cli","","",4,null],[10,"cachegrind_parse","","",4,null],[11,"cachegrind_cli","profiler::profiler","Get profiler output from stdout.",0,null],[11,"cachegrind_parse","","",0,null]],"paths":[[4,"Profiler"],[4,"ProfError"],[8,"CallGrindParser"],[4,"Metric"],[8,"CacheGrindParser"]]}; initSearch(searchIndex);