Changeset 42660f in git for kernel/gfan.h


Ignore:
Timestamp:
Dec 8, 2009, 6:18:09 PM (14 years ago)
Author:
Martin Monerjan
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
49322598c9584a3eeea285d54df58555dad65365
Parents:
44b47da220f802c0fbdacb637c0db51c885e3b6f
Message:
Crude profiling via gfanp
removed unnecessary includes
shrinked scope of several variables throughout the code, hopefully
removing some memory leaks



git-svn-id: file:///usr/local/Singular/svn/trunk@12376 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/gfan.h

    r44b47d r42660f  
    2121#endif
    2222extern int gfanHeuristic;
     23#define gfanp
     24// #ifdef gfanp
     25// extern       static float time_getConeNormals;
     26// extern       static float time_getCodim2Normals;
     27// extern       static float time_flip;
     28// extern       static float time_enqueue;
     29// extern       static float time_computeInv;
     30// #endif
    2331//ideal getGB(ideal inputIdeal);
    2432// ideal gfan(ideal inputIdeal, int heuristic);
     
    105113                 */
    106114                inline void fDebugPrint();
    107                
    108115                friend class gcone;             
    109116};
     
    130137                /** \brief Pointer to the first facet */
    131138                facet *facetPtr;        //Will hold the adress of the first facet; set by gcone::getConeNormals
    132                
     139#ifdef gfanp
     140                static float time_getConeNormals;
     141                static float time_getCodim2Normals;
     142                static float time_flip;
     143                static float time_enqueue;             
     144                static float time_computeInv;
     145                static float t_ddMC;
     146                static float t_mI;
     147                static float t_iP;
     148#endif
     149
    133150                /** # of variables in the ring */
    134151                int numVars;            //#of variables in the ring
Note: See TracChangeset for help on using the changeset viewer.