File indexing completed on 2025-02-09 04:24:56
0001 #! /usr/bin/env python 0002 # -*- coding: utf-8 -*- 0003 0004 import os 0005 0006 files = {"kbihash_int_int" : "KBiHash(int, int)", 0007 "qhash_int_int" : "QHash(int, int)", 0008 "qhash_string_string" : "QHash(QString, QString)", 0009 "kbihash_string_string" : "KBiHash(QString, QString)", 0010 } 0011 0012 for _file, _type in files.items(): 0013 for i in range(10): 0014 xml_filename = _file + str(i + 1) + ".xml" 0015 print _type + " : ", i 0016 os.system("./" + _file + " -callgrind -xml > " + xml_filename) 0017 os.system("sed -i 's/>4.7.0</>" + _type + str(i) + "</' " + xml_filename) 0018