implemented ha_pt_get()

This commit is contained in:
Heng Li
2020-03-26 23:00:00 -04:00
parent 4aa4ebaf96
commit 10ed8b36ec
5 changed files with 44 additions and 33 deletions
+4 -4
View File
@@ -10,16 +10,16 @@ int main(int argc, char *argv[])
{
int i;
void *flt_tab;
void *idx;
ha_pt_t *idx;
init_opt(&asm_opt);
if (!CommandLine_process(argc, argv, &asm_opt)) return 1;
yak_reset_realtime();
flt_tab = ha_gen_flt_tab(&asm_opt, &R_INF);
idx = ha_gen_mzidx(&asm_opt, flt_tab, 0, &R_INF);
ha_idx_destroy(idx);
flt_tab = ha_ft_gen(&asm_opt, &R_INF);
idx = ha_pt_gen(&asm_opt, flt_tab, 0, &R_INF);
ha_pt_destroy(idx);
ha_ft_destroy(flt_tab);
if (0) {
Correct_Reads(asm_opt.number_of_round);