GrabDump.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:PhonePerformanceMeasure 作者: KyleCe 项目源码 文件源码
def convert_and_store_in_directory(dest_path, target_name):
    target_name = target_name.replace(Res.hprof_suffix, '')
    dump_file_path = os.path.join(dest_path, target_name)
    dump_file = dump_file_path + Res.hprof_suffix if not dump_file_path.endswith(Res.hprof_suffix) else dump_file_path
    Fun.make_dir_if_not_exist(dump_file_path)
    convert_file = os.path.join(dump_file_path, target_name + Res.convert_suffix)
    Fun.p_open(Res.adb_convert_heap_profile(dump_file, convert_file))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号