Profile: Function timing, sorted by time
Date:    Tue Aug 26 13:01:42 1997


Program Statistics
------------------
    Command line at 1997 Aug 26 12:39: qbsp        
    Total time: 78634.576 millisecond
    Time outside of functions: 7.986 millisecond
    Call depth: 824
    Total functions: 183
    Total hits: 36928622
    Function coverage: 86.9%
    Overhead Calculated 8
    Overhead Average 8

Module Statistics for qbsp.exe
------------------------------
    Time in module: 78626.589 millisecond
    Percent of time in module: 100.0%
    Functions in module: 183
    Hits in module: 36928622
    Module function coverage: 86.9%

        Func          Func+Child           Hit
        Time   %         Time      %      Count  Function
---------------------------------------------------------
   14436.830  18.4    15149.576  19.3   945627 TryMerge(struct visfacet_s *,struct visfacet_s *) (merge.obj)
   11220.849  14.3    20937.599  26.6  3149452 SplitFace(struct visfacet_s *,struct plane_t *,struct visfacet_s * *,struct visfacet_s * *) (csg4.obj)
    7628.158   9.7     7628.158   9.7   605875 AllocMem(int,int,bool) (util.obj)
    7019.857   8.9     7019.857   8.9 20508153 DotProduct(float * const,float * const) (mathlib.obj)
    3895.018   5.0     5131.750   6.5    15806 FindPlane(struct plane_t *,int *) (brush.obj)
    3777.044   4.8     4273.956   5.4  2140044 FaceSide(struct visfacet_s *,struct plane_t *) (solidbsp.obj)
    2996.189   3.8     2996.189   3.8   149326 File::Printf(char *,...) (file.obj)
    2883.213   3.7    22494.567  28.6   138080 ClipInside(int,int,bool) (csg4.obj)
    2609.663   3.3     2984.378   3.8     9116 GetEdge(float * const,float * const,struct visfacet_s *) (surfaces.obj)
    2229.077   2.8     2229.077   2.8   588800 FreeMem(void *,int,int) (util.obj)
    2048.393   2.6     2676.281   3.4    94688 TestAddPlane(struct plane_t *) (brush.obj)
    1652.634   2.1     3265.842   4.2   210034 ClipWinding(struct winding_t *,struct plane_t *,bool) (winding.obj)
    1180.084   1.5     5454.040   6.9     2302 ChoosePlaneFromList(struct surface_s *,float * const,float * const,bool) (solidbsp.obj)
    1153.036   1.5     1153.036   1.5   462969 Q_rint(float) (mathlib.obj)
     908.697   1.2     4186.912   5.3    24456 AddHullEdge(float * const,float * const,float (* const)[3]) (brush.obj)
     820.113   1.0     1672.511   2.1   128344 DivideWinding(struct winding_t *,struct plane_t *,struct winding_t * *,struct winding_t * *) (winding.obj)
     786.999   1.0     1125.099   1.4    15782 CheckFace(struct visfacet_s *) (brush.obj)
     771.099   1.0    39451.430  50.2       24 CSGFaces(struct brushset_t *) (csg4.obj)
     757.899   1.0     1450.925   1.8        1 LoadMapFile(void) (map.obj)
     715.667   0.9      715.667   0.9  2060644 VectorCompare(float * const,float * const) (mathlib.obj)
     700.318   0.9      700.318   0.9  2217843 VectorCopy(float * const,float * const) (mathlib.obj)
     657.475   0.8     9889.170  12.6     2576 CreateBrushFaces(void) (brush.obj)
     588.577   0.7      588.577   0.7   341024 RemovePortalFromNode(struct portal_s *,struct node_s *) (portals.obj)
     553.043   0.7    15935.922  20.3    38290 MergeFaceToList(struct visfacet_s *,struct visfacet_s *) (merge.obj)
     453.119   0.6      453.119   0.6   981989 VectorSubtract(float * const,float * const,float * const) (mathlib.obj)
     446.280   0.6      446.280   0.6       29 File::Read(void *,int) (file.obj)
     446.234   0.6     4474.607   5.7    18306 CutNodePortals_r(struct node_s *) (portals.obj)
     402.362   0.5     5199.638   6.6   270566 NewFaceFromFace(struct visfacet_s *) (csg4.obj)
     350.932   0.4      501.245   0.6    73368 AddHullPoint(float * const,float (* const)[3]) (brush.obj)
     350.227   0.4      350.227   0.4    27248 CalcSurfaceInfo(struct surface_s *) (solidbsp.obj)
     327.515   0.4      327.515   0.4   172173 VectorNormalize(float * const) (mathlib.obj)
     233.741   0.3     2015.806   2.6    85933 DividePlane(struct surface_s *,struct plane_t *,struct surface_s * *,struct surface_s * *) (solidbsp.obj)
     228.587   0.3      383.101   0.5      516 ParseBrush(class Parser *) (map.obj)
     223.343   0.3      740.625   0.9    11510 LinkNodeFaces(struct surface_s *) (solidbsp.obj)
     202.872   0.3      409.665   0.5    34893 FreeMergeListScraps(struct visfacet_s *) (merge.obj)
     200.994   0.3     2625.963   3.3    81453 WriteFloat(float) (portals.obj)
     183.409   0.2      524.968   0.7    24957 BaseWindingForPlane(struct plane_t *) (winding.obj)
     178.096   0.2      178.096   0.2   306375 CrossProduct(float * const,float * const,float * const) (mathlib.obj)
     167.300   0.2      278.742   0.4     3385 WriteNodePlanes_r(struct node_s *) (writebsp.obj)
     155.138   0.2     3816.841   4.9     9016 WritePortalFile_r(struct node_s *) (portals.obj)
     127.260   0.2     8840.219  11.2    23047 PartitionSurfaces(struct surface_s *,struct node_s *) (solidbsp.obj)
     123.344   0.2      125.562   0.2      405 Message(int,...) (util.obj)
     116.989   0.1      196.432   0.2    19677 SubdivideFace(struct visfacet_s *,struct visfacet_s * *) (surfaces.obj)
     112.731   0.1      235.577   0.3     1546 CopyFacesToOutside(struct brush_s *) (csg4.obj)
     111.408   0.1     5614.719   7.1    23047 SelectPartition(struct surface_s *) (solidbsp.obj)
     110.956   0.1      110.956   0.1   170512 AddPortalToNodes(struct portal_s *,struct node_s *,struct node_s *) (portals.obj)
     108.163   0.1      794.222   1.0    18306 FreeAllPortals(struct node_s *) (portals.obj)
     102.156   0.1      374.715   0.5    18232 GetVertex(float * const) (surfaces.obj)
      86.332   0.1       86.332   0.1    66563 Parser::ParseToken(bool) (parser.obj)
      86.226   0.1     4493.051   5.7     1030 ExpandBrush(float (* const)[3],struct visfacet_s *) (brush.obj)
      76.724   0.1      182.225   0.2    11537 LinkConvexFaces(struct surface_s *,struct node_s *) (solidbsp.obj)
      75.106   0.1    15549.168  19.8     1546 SaveOutside(bool) (csg4.obj)
      71.743   0.1       71.743   0.1    33848 RecursiveFillOutside(struct node_s *,bool) (outside.obj)
      57.077   0.1       57.077   0.1   217949 VectorLength(float * const) (mathlib.obj)
      49.271   0.1       49.271   0.1     5214 ChooseMidPlaneFromList(struct surface_s *,float * const,float * const) (solidbsp.obj)
      45.504   0.1       45.504   0.1      209 File::Write(void *,int) (file.obj)
      40.501   0.1      362.778   0.5    22168 FreeInside(int) (csg4.obj)
      36.443   0.0       36.945   0.0    15806 NormalizePlane(struct plane_t *) (brush.obj)
      34.780   0.0       43.272   0.1        1 PreParseFile(char *) (map.obj)
      33.575   0.0       84.313   0.1    16301 GatherNodeFaces_r(struct node_s *) (surfaces.obj)
      32.704   0.0       55.772   0.1     4650 ExportClipNodes_r(struct node_s *) (writebsp.obj)
      31.670   0.0       43.659   0.1    11510 DivideNodeBounds(struct node_s *,struct plane_t *) (solidbsp.obj)
      29.984   0.0    14458.254  18.4     1548 LoadBrush(int,int) (brush.obj)
      29.810   0.0       39.044   0.0     6180 AddBrushPlane(struct plane_t *) (brush.obj)
      22.037   0.0       22.037   0.0    99828 VectorAdd(float * const,float * const,float * const) (mathlib.obj)
      21.103   0.0       26.991   0.0     3074 TextureAxisFromPlane(struct plane_t *,float * const,float * const) (map.obj)
      19.181   0.0       19.181   0.0     4509 NumberLeafs_r(struct node_s *) (portals.obj)
      18.527   0.0       18.527   0.0     3074 FindTexinfo(struct texinfo_s *) (map.obj)
      17.984   0.0       17.984   0.0     8152 ClearOutFaces(struct node_s *) (outside.obj)
      16.800   0.0       68.320   0.1     2576 FreeBrushFaces(struct visfacet_s *) (brush.obj)
      14.767   0.0     3014.956   3.8     2288 FindFaceEdges(struct visfacet_s *) (surfaces.obj)
      14.026   0.0       14.026   0.0    18232 HashVec(float * const) (surfaces.obj)
      13.321   0.0       20.665   0.0      359 ParseEpair(class Parser *) (map.obj)
      13.291   0.0       13.291   0.0    24957 VectorMA(float * const,double,float * const,float * const) (mathlib.obj)
      13.089   0.0       43.952   0.1     6751 PlaneFromWinding(struct winding_t *,struct plane_t *) (portals.obj)
      11.593   0.0       20.272   0.0     1052 GrowNodeRegion_r(struct node_s *) (surfaces.obj)
      11.085   0.0       11.085   0.0        8 File::fOpen(char *,char *,bool) (file.obj)
      10.657   0.0       10.657   0.0    90653 VectorScale(float * const,float,float * const) (mathlib.obj)
      10.330   0.0       10.330   0.0     2578 ValueForKey(int,char *) (map.obj)
       9.819   0.0       79.607   0.1       27 BuildSurfaces(void) (csg4.obj)
       9.502   0.0       49.997   0.1        4 MakeHeadnodePortals(struct node_s *) (portals.obj)
       8.627   0.0        9.260   0.0        1 WriteEntitiesToString(void) (map.obj)
       6.947   0.0      345.293   0.4       26 WAD::LoadLump(char *,unsigned char *) (wad.obj)
       6.661   0.0      358.566   0.5        1 WAD::fProcessWAD(void) (wad.obj)
       6.551   0.0        6.551   0.0     3092 AddToBounds(struct brushset_t *,float * const) (brush.obj)
       6.335   0.0        7.797   0.0      363 PointInLeaf(struct node_s *,float * const) (outside.obj)
       6.132   0.0        6.132   0.0     3074 FindMiptex(char *) (map.obj)
       4.980   0.0        9.092   0.0     1044 ExportDrawNodes_r(struct node_s *) (writebsp.obj)
       4.154   0.0        4.154   0.0     4650 CountClipNodes_r(struct node_s *) (writebsp.obj)
       4.148   0.0       14.440   0.0        1 InitQBSP(int,char * *) (qbsp.obj)
       4.112   0.0        4.112   0.0      501 ExportLeaf(struct node_s *) (writebsp.obj)
       4.064   0.0    14470.710  18.4       24 Brush_LoadEntity(int,int) (brush.obj)
       3.850   0.0        3.850   0.0        8 File::Close(void) (file.obj)
       3.503   0.0      875.168   1.1      333 MergePlaneFaces(struct surface_s *) (merge.obj)
       3.292   0.0        3.292   0.0     1052 CountData_r(struct node_s *) (surfaces.obj)
       3.154   0.0     3018.110   3.8     1052 MakeFaceEdges_r(struct node_s *) (surfaces.obj)
       3.092   0.0      122.211   0.2        1 FinishBSPFile(void) (writebsp.obj)
       3.034   0.0      294.250   0.4       24 WriteNodePlanes(struct node_s *) (writebsp.obj)
       2.855   0.0        2.855   0.0       27 File::Seek(int,int) (file.obj)
       2.425   0.0       72.339   0.1       24 FreeBrushsetBrushes(void) (brush.obj)
       2.100   0.0      408.378   0.5      130 ParseEntity(class Parser *) (map.obj)
       1.827   0.0        1.827   0.0        8 InitHash(void) (surfaces.obj)
       1.805   0.0     3060.048   3.9        8 MakeFaceEdges(struct node_s *) (surfaces.obj)
       1.680   0.0        2.784   0.0     1044 CountNodes_r(struct node_s *) (writebsp.obj)
       1.638   0.0        4.748   0.0      746 copystring(char *) (cmdlib.obj)
       1.380   0.0      876.989   1.1        1 MergeAll(struct surface_s *) (merge.obj)
       1.274   0.0        1.274   0.0       15 File::Position(void) (file.obj)
       1.105   0.0        1.105   0.0      501 CountLeaves(struct node_s *) (writebsp.obj)
       0.963   0.0       62.090   0.1       16 ExportClipNodes(struct node_s *) (writebsp.obj)
       0.846   0.0    76562.201  97.4      387 ProcessEntity(void) (qbsp.obj)
       0.799   0.0     8865.335  11.3       27 SolidBSP(struct surface_s *,bool) (solidbsp.obj)
       0.745   0.0       47.486   0.1       15 AddLump(class File *,int) (bspfile.obj)
       0.623   0.0        0.623   0.0        2 I_FloatTime(void) (cmdlib.obj)
       0.518   0.0        0.518   0.0        1 DefaultExtension(char *,char *) (cmdlib.obj)
       0.469   0.0        0.469   0.0        2 File::Length(void) (file.obj)
       0.416   0.0      103.334   0.1        3 FillOutside(struct node_s *) (outside.obj)
       0.381   0.0      127.961   0.2        3 GatherNodeFaces(struct node_s *) (surfaces.obj)
       0.371   0.0        0.371   0.0       24 ClearBounds(struct brushset_t *) (brush.obj)
       0.318   0.0        0.396   0.0        1 _$E4 (globals.obj)
       0.318   0.0    78625.574 100.0        1 _main (qbsp.obj)
       0.308   0.0        0.308   0.0        1 _$E4 (portals.obj)
       0.307   0.0        0.308   0.0        1 _$E4 (outside.obj)
       0.161   0.0    49610.521  63.1        3 CreateSingleHull(void) (qbsp.obj)
       0.111   0.0        0.351   0.0       21 SetKeyValue(int,char *,char *) (map.obj)
       0.091   0.0      345.385   0.4        1 WAD::LoadTextures(struct dmiptexlump_t *) (wad.obj)
       0.077   0.0        0.077   0.0        1 _$E1 (globals.obj)
       0.054   0.0       13.436   0.0        8 ExportDrawNodes(struct node_s *) (writebsp.obj)
       0.054   0.0        7.850   0.0      363 PlaceOccupant(int,float * const,struct node_s *) (outside.obj)
       0.047   0.0    76563.025  97.4        1 CreateHulls(void) (qbsp.obj)
       0.028   0.0     3843.397   4.9        2 WritePortalfile(struct node_s *) (portals.obj)
       0.026   0.0       49.400   0.1        1 WriteBSPFile(void) (bspfile.obj)
       0.024   0.0      100.752   0.1        1 WAD::InitWADList(char *) (wad.obj)
       0.023   0.0        0.023   0.0        2 ParseOptions(char *) (qbsp.obj)
       0.023   0.0        0.023   0.0        8 StripExtension(char *) (cmdlib.obj)
       0.023   0.0     8368.847  10.6        4 PortalizeWorld(struct node_s *) (portals.obj)
       0.021   0.0       60.575   0.1        1 PrintBSPFileSizes(void) (bspfile.obj)
       0.014   0.0       13.939   0.0        2 File::LoadFile(char *,void * *,bool) (file.obj)
       0.011   0.0    78605.046 100.0        1 ProcessFile(void) (qbsp.obj)
       0.009   0.0        0.012   0.0        1 WAD::AddAnimatingTextures(void) (wad.obj)
       0.007   0.0        1.433   0.0        1 PrintMem(void) (util.obj)
       0.006   0.0        2.790   0.0        8 CountNodes(struct node_s *) (writebsp.obj)
       0.006   0.0        0.285   0.0        1 WAD::~WAD(void) (wad.obj)
       0.004   0.0        0.004   0.0        1 BeginBSPFile(void) (writebsp.obj)
       0.002   0.0        0.002   0.0        7 File::File(void) (file.obj)
       0.002   0.0        0.002   0.0        7 File::~File(void) (file.obj)
       0.002   0.0        0.002   0.0        1 _$E2 (portals.obj)
       0.001   0.0        0.001   0.0        1 Parser::Parser(char *) (parser.obj)
       0.001   0.0        0.001   0.0        1 WAD::WAD(void) (wad.obj)
       0.001   0.0        0.001   0.0        1 _$E1 (portals.obj)
       0.001   0.0        0.001   0.0        1 _$E1 (outside.obj)
       0.001   0.0        0.001   0.0        1 _$E2 (outside.obj)
       0.001   0.0        0.001   0.0        1 _$E6 (outside.obj)
       0.001   0.0        0.002   0.0        1 _$E9 (outside.obj)
       0.000   0.0        0.000   0.0        1 _$E2 (globals.obj)
       0.000   0.0        0.000   0.0        1 _$E3 (outside.obj)
       0.000   0.0        0.000   0.0        1 _$E3 (globals.obj)
       0.000   0.0        0.000   0.0        1 _$E3 (portals.obj)
       0.000   0.0        0.000   0.0        1 _$E7 (outside.obj)
       0.000   0.0        0.000   0.0        1 _$E8 (outside.obj)
