Changeset e7a487 in git for factory/facFactorize.cc


Ignore:
Timestamp:
Feb 22, 2012, 6:41:12 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
a3aa3f3540f7d9604a809fe2b268a4115e7aef9a
Parents:
9b8b090bca59f6bb48b468a6a1b63a90e53e6299ff3a4f4a8e655885eb376e551f47339a6de25bf0
Message:
Merge pull request #70 from mmklee/factory_configure_options_sw

repair factory configure options: enable-timing, enable-debugoutput, enable-assertions (version for SW + improvements: enable-assertions ->  disable-assertions)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facFactorize.cc

    r9b8b09 re7a487  
    3030#include "cf_reval.h"
    3131#include "facSparseHensel.h"
     32
     33TIMING_DEFINE_PRINT(bi_factorize)
     34TIMING_DEFINE_PRINT(hensel_lift)
     35TIMING_DEFINE_PRINT(factor_recombination)
    3236
    3337#ifdef HAVE_NTL
     
    691695    bufLift= degree (A, y) + 1 + degree (LC(A, x), y);
    692696
    693     TIMING_START (fac_bi_factorizer);
     697    TIMING_START (bi_factorize);
    694698    bufBiFactors= ratBiSqrfFactorize (bufAeval.getFirst(), v);
    695     TIMING_END_AND_PRINT (fac_bi_factorizer,
     699    TIMING_END_AND_PRINT (bi_factorize,
    696700                          "time for bivariate factorization: ");
    697701    bufBiFactors.removeFirst();
     
    969973    CFList earlyFactors;
    970974    ExtensionInfo info= ExtensionInfo (false);
    971     TIMING_START (fac_hensel_lift);
    972     CFList liftedFactors= henselLiftAndEarly
    973                           (A, MOD, liftBounds, earlySuccess, earlyFactors,
    974                            Aeval, biFactors, evaluation, info);
    975     TIMING_END_AND_PRINT (fac_hensel_lift, "time for hensel lifting: ");
    976 
    977     TIMING_START (fac_factor_recombination);
     975    CFList liftedFactors;
     976    TIMING_START (hensel_lift);
     977    liftedFactors= henselLiftAndEarly
     978                   (A, MOD, liftBounds, earlySuccess, earlyFactors,
     979                    Aeval, biFactors, evaluation, info);
     980    TIMING_END_AND_PRINT (hensel_lift, "time for hensel lifting: ");
     981
     982    TIMING_START (factor_recombination);
    978983    factors= factorRecombination (A, liftedFactors, MOD);
    979     TIMING_END_AND_PRINT (fac_factor_recombination,
     984    TIMING_END_AND_PRINT (factor_recombination,
    980985                          "time for factor recombination: ");
    981986
Note: See TracChangeset for help on using the changeset viewer.