Changeset 0851b0 in git for factory/facBivar.h


Ignore:
Timestamp:
Oct 12, 2012, 5:31:21 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
cb4f0c3c5277d6de4d18c968650b4169ff1d1b46
Parents:
2a95b234ef67ebbc98057baefb8dd2ed43af3762
git-author:
Martin Lee <martinlee84@web.de>2012-10-12 17:31:21+02:00
git-committer:
Martin Lee <martinlee84@web.de>2012-10-24 12:26:22+02:00
Message:
chg: added more timing infos to main factorization functions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facBivar.h

    r2a95b2 r0851b0  
    1414#define FAC_BIVAR_H
    1515
    16 #include <config.h>
    17 
    18 #include "assert.h"
     16#include "config.h"
     17
     18#include "cf_assert.h"
     19#include "timing.h"
    1920
    2021#include "facFqBivarUtil.h"
     
    2627#include "algext.h"
    2728#include "fac_util.h"
     29
     30TIMING_DEFINE_PRINT(fac_bi_sqrf)
     31TIMING_DEFINE_PRINT(fac_bi_factor_sqrf)
    2832
    2933/// @return @a biFactorize returns a list of factors of F. If F is not monic
     
    196200  vec_ZZ S;
    197201  F= compress (F, M, S);
     202  TIMING_START (fac_bi_sqrf);
    198203  CFFList sqrfFactors= sqrFree (F);
     204  TIMING_END_AND_PRINT (fac_bi_sqrf,
     205                       "time for bivariate sqrf factors over Q: ");
    199206  for (CFFListIterator i= sqrfFactors; i.hasItem(); i++)
    200207  {
     208    TIMING_START (fac_bi_factor_sqrf);
    201209    CFList tmp= ratBiSqrfFactorize (i.getItem().factor(), v);
     210    TIMING_END_AND_PRINT (fac_bi_factor_sqrf,
     211                          "time to factor bivariate sqrf factors over Q: ");
    202212    for (CFListIterator j= tmp; j.hasItem(); j++)
    203213    {
Note: See TracChangeset for help on using the changeset viewer.