Profile: Function timing, sorted by time
Date:    Fri Aug 08 13:59:28 1997


Program Statistics
------------------
    Command line at 1997 Aug 08 13:28: "C:\source\qutils\QBSP\Release\Qbsp" 
    Total time: 105449.309 millisecond
    Time outside of functions: 50.960 millisecond
    Call depth: 1372
    Total functions: 173
    Total hits: 60679489
    Function coverage: 89.0%
    Overhead Calculated 8
    Overhead Average 8

Module Statistics for qbsp.exe
------------------------------
    Time in module: 105398.350 millisecond
    Percent of time in module: 100.0%
    Functions in module: 173
    Hits in module: 60679489
    Module function coverage: 89.0%

        Func          Func+Child           Hit
        Time   %         Time      %      Count  Function
---------------------------------------------------------
   27550.816  26.1    27550.816  26.1 37042235 DotProduct(float * const,float * const) (mathlib.obj)
   12358.640  11.7    23428.938  22.2  2612984 SplitFace(struct visfacet_s *,struct plane_t *,struct visfacet_s * *,struct visfacet_s * *) (csg4.obj)
   10449.452   9.9    11568.764  11.0  1735241 TryMerge(struct visfacet_s *,struct visfacet_s *) (merge.obj)
    8362.803   7.9    13241.314  12.6  4012069 FaceSide(struct visfacet_s *,struct plane_t *) (solidbsp.obj)
    8243.865   7.8    20550.366  19.5    22433 FindPlane(struct plane_t *,int *) (brush.obj)
    4157.616   3.9     4157.616   3.9  5708151 VectorCompare(float * const,float * const) (mathlib.obj)
    4131.816   3.9     4131.816   3.9   838356 AllocMem(int,int,bool) (util.obj)
    3810.725   3.6     4303.600   4.1    14597 GetEdge(float * const,float * const,struct visfacet_s *) (surfaces.obj)
    2652.375   2.5    15893.689  15.1     2001 ChoosePlaneFromList(struct surface_s *,float * const,float * const,bool) (solidbsp.obj)
    2332.666   2.2     6844.441   6.5        1 LoadMapFile(void) (map.obj)
    2093.355   2.0    22136.911  21.0   140476 ClipInside(int,int,bool) (csg4.obj)
    1923.423   1.8     3991.613   3.8   308251 ClipWinding(struct winding_t *,struct plane_t *,bool) (winding.obj)
    1873.422   1.8     1873.422   1.8  2657844 VectorCopy(float * const,float * const) (mathlib.obj)
    1252.141   1.2     1252.141   1.2   150003 File::Printf(char *,...) (file.obj)
    1193.923   1.1     1193.923   1.1   818914 FreeMem(void *,int,int) (util.obj)
    1007.528   1.0     2194.811   2.1   178789 DivideWinding(struct winding_t *,struct plane_t *,struct winding_t * *,struct winding_t * *) (winding.obj)
    1003.240   1.0     1003.240   1.0   602758 Q_rint(float) (mathlib.obj)
     923.265   0.9     6178.743   5.9    24744 CutNodePortals_r(struct node_s *) (portals.obj)
     781.329   0.7    12443.776  11.8    63298 MergeFaceToList(struct visfacet_s *,struct visfacet_s *) (merge.obj)
     754.442   0.7      754.442   0.7   467296 RemovePortalFromNode(struct portal_s *,struct node_s *) (portals.obj)
     666.265   0.6    35429.002  33.6       45 CSGFaces(struct brushset_t *) (csg4.obj)
     593.000   0.6      593.000   0.6   804793 VectorSubtract(float * const,float * const,float * const) (mathlib.obj)
     592.303   0.6    25728.776  24.4     3436 CreateBrushFaces(void) (brush.obj)
     547.003   0.5     1221.026   1.2    22409 CheckFace(struct visfacet_s *) (brush.obj)
     445.567   0.4     3399.055   3.2   119465 DividePlane(struct surface_s *,struct plane_t *,struct surface_s * *,struct surface_s * *) (solidbsp.obj)
     427.563   0.4     2710.243   2.6   354866 NewFaceFromFace(struct visfacet_s *) (csg4.obj)
     369.239   0.4     1472.341   1.4    45784 SubdivideFace(struct visfacet_s *,struct visfacet_s * *) (surfaces.obj)
     362.711   0.3      898.290   0.9    34803 BaseWindingForPlane(struct plane_t *) (winding.obj)
     338.510   0.3      338.510   0.3   268930 VectorNormalize(float * const) (mathlib.obj)
     277.938   0.3      277.938   0.3       18 File::Read(void *,int) (file.obj)
     270.421   0.3      713.308   0.7     2941 WriteNodePlanes_r(struct node_s *) (writebsp.obj)
     241.059   0.2     1404.059   1.3    81714 WriteFloat(float) (portals.obj)
     229.851   0.2    21904.623  20.8    29116 PartitionSurfaces(struct surface_s *,struct node_s *) (solidbsp.obj)
     206.974   0.2      206.974   0.2   250689 CrossProduct(float * const,float * const,float * const) (mathlib.obj)
     187.595   0.2      264.401   0.3    58412 FreeMergeListScraps(struct visfacet_s *) (merge.obj)
     182.887   0.2      182.887   0.2   233648 AddPortalToNodes(struct portal_s *,struct node_s *,struct node_s *) (portals.obj)
     168.609   0.2      356.868   0.3      688 ParseBrush(class Parser *) (map.obj)
     163.436   0.2      492.875   0.5    29194 GetVertex(float * const,int) (surfaces.obj)
     155.591   0.1     1956.080   1.9    14534 LinkNodeFaces(struct surface_s *) (solidbsp.obj)
     147.275   0.1      147.275   0.1    32410 CalcSurfaceInfo(struct surface_s *) (solidbsp.obj)
     142.816   0.1      702.400   0.7    24744 FreeAllPortals(struct node_s *) (portals.obj)
     130.920   0.1      130.920   0.1    76896 RecursiveFillOutside(struct node_s *,bool) (outside.obj)
     122.157   0.1      122.157   0.1   141536 VectorLength(float * const) (mathlib.obj)
     111.242   0.1     1929.481   1.8     9176 WritePortalFile_r(struct node_s *) (portals.obj)
     103.366   0.1      103.366   0.1   139212 VectorAdd(float * const,float * const,float * const) (mathlib.obj)
     100.845   0.1    12296.909  11.7     2062 SaveOutside(bool) (csg4.obj)
      85.363   0.1    16005.836  15.2    29116 SelectPartition(struct surface_s *) (solidbsp.obj)
      79.414   0.1       79.414   0.1   126818 VectorScale(float * const,float,float * const) (mathlib.obj)
      78.909   0.1       78.909   0.1    91526 Parser::ParseToken(bool) (parser.obj)
      77.003   0.1      154.012   0.1    14582 LinkConvexFaces(struct surface_s *,struct node_s *) (solidbsp.obj)
      72.835   0.1      130.508   0.1    23279 GatherNodeFaces_r(struct node_s *) (surfaces.obj)
      70.320   0.1       75.869   0.1      857 Message(int,...) (util.obj)
      63.104   0.1      171.780   0.2    20286 FreeInside(int) (csg4.obj)
      60.842   0.1      133.009   0.1     2062 CopyFacesToOutside(struct brush_s *) (csg4.obj)
      53.171   0.1      104.271   0.1    14534 DivideNodeBounds(struct node_s *,struct plane_t *) (solidbsp.obj)
      43.588   0.0       60.220   0.1     4190 ExportClipNodes_r(struct node_s *) (writebsp.obj)
      37.877   0.0       37.877   0.0    34803 VectorMA(float * const,double,float * const,float * const) (mathlib.obj)
      36.997   0.0       65.614   0.1     8244 AddBrushPlane(struct plane_t *) (brush.obj)
      36.460   0.0       37.847   0.0    22433 NormalizePlane(struct plane_t *) (brush.obj)
      31.616   0.0       31.616   0.0    29194 HashVec(float * const) (surfaces.obj)
      31.377   0.0    25908.994  24.6     2064 LoadBrush(int,int) (brush.obj)
      29.545   0.0       29.545   0.0    11641 ClearOutFaces(struct node_s *) (outside.obj)
      27.314   0.0      106.613   0.1     1374 ExpandBrush(float (* const)[3],struct visfacet_s *) (brush.obj)
      27.213   0.0       33.427   0.0        1 PreParseFile(char *) (map.obj)
      26.785   0.0       26.785   0.0     7699 ChooseMidPlaneFromList(struct surface_s *,float * const,float * const) (solidbsp.obj)
      21.221   0.0       59.965   0.1     6798 PlaneFromWinding(struct winding_t *,struct plane_t *) (portals.obj)
      20.715   0.0       20.715   0.0      362 File::Write(void *,int) (file.obj)
      20.532   0.0       40.985   0.0     4119 TextureAxisFromPlane(struct plane_t *,float * const,float * const) (map.obj)
      20.413   0.0       77.065   0.1     3436 FreeBrushFaces(struct visfacet_s *) (brush.obj)
      17.936   0.0     4332.858   4.1     3692 FindFaceEdges(struct visfacet_s *) (surfaces.obj)
      15.801   0.0       15.829   0.0        1 _$E4 (globals.obj)
      15.144   0.0       15.144   0.0     4589 NumberLeafs_r(struct node_s *) (portals.obj)
      11.588   0.0       45.258   0.0       48 BuildSurfaces(void) (csg4.obj)
      11.255   0.0       11.255   0.0        8 File::fOpen(char *,char *,bool) (file.obj)
      10.169   0.0       10.169   0.0     4190 CountClipNodes_r(struct node_s *) (writebsp.obj)
      10.122   0.0       15.743   0.0      619 ParseEpair(class Parser *) (map.obj)
       9.605   0.0        9.605   0.0     4119 FindTexinfo(struct texinfo_s *) (map.obj)
       9.054   0.0        9.054   0.0     3438 ValueForKey(int,char *) (map.obj)
       8.432   0.0       11.933   0.0      831 GrowNodeRegion_r(struct node_s *) (surfaces.obj)
       8.091   0.0        8.091   0.0        8 File::Close(void) (file.obj)
       7.596   0.0        7.596   0.0     4213 FindMiptex(char *) (map.obj)
       6.774   0.0    25920.818  24.6       45 Brush_LoadEntity(int,int) (brush.obj)
       6.716   0.0        7.125   0.0        1 WriteEntitiesToString(void) (map.obj)
       5.983   0.0       11.500   0.0      612 PointInLeaf(struct node_s *,float * const) (outside.obj)
       4.522   0.0        6.285   0.0      816 ExportDrawNodes_r(struct node_s *) (writebsp.obj)
       4.190   0.0      522.439   0.5      316 MergePlaneFaces(struct surface_s *) (merge.obj)
       3.791   0.0        3.791   0.0     4124 AddToBounds(struct brushset_t *,float * const) (brush.obj)
       3.178   0.0    98263.720  93.2      657 ProcessEntity(void) (qbsp.obj)
       3.020   0.0     4335.878   4.1      831 MakeFaceEdges_r(struct node_s *) (surfaces.obj)
       2.665   0.0       79.156   0.1       45 FreeBrushsetBrushes(void) (brush.obj)
       2.579   0.0      377.124   0.4      220 ParseEntity(class Parser *) (map.obj)
       2.482   0.0        2.482   0.0      831 CountData_r(struct node_s *) (surfaces.obj)
       2.266   0.0        4.034   0.0     1294 copystring(char *) (cmdlib.obj)
       2.149   0.0      133.830   0.1       17 WAD::LoadLump(char *,unsigned char *) (wad.obj)
       1.789   0.0      138.375   0.1        1 WAD::fProcessWAD(void) (wad.obj)
       1.763   0.0        1.763   0.0      361 ExportLeaf(struct node_s *) (writebsp.obj)
       1.458   0.0     4362.049   4.1       15 MakeFaceEdges(struct node_s *) (surfaces.obj)
       1.388   0.0        3.813   0.0        1 FreeAllMem(void) (util.obj)
       1.360   0.0        2.429   0.0      816 CountNodes_r(struct node_s *) (writebsp.obj)
       1.352   0.0        3.074   0.0        1 InitQBSP(int,char * *) (qbsp.obj)
       1.335   0.0        1.335   0.0       15 InitHash(void) (surfaces.obj)
       1.145   0.0       71.934   0.1       30 ExportClipNodes(struct node_s *) (writebsp.obj)
       1.082   0.0      718.455   0.7       45 WriteNodePlanes(struct node_s *) (writebsp.obj)
       1.069   0.0        1.069   0.0      361 CountLeaves(struct node_s *) (writebsp.obj)
       0.660   0.0      175.224   0.2        3 FillOutside(struct node_s *) (outside.obj)
       0.500   0.0       21.434   0.0       15 AddLump(class File *,int) (bspfile.obj)
       0.490   0.0       11.990   0.0      612 PlaceOccupant(int,float * const,struct node_s *) (outside.obj)
       0.421   0.0        0.421   0.0       16 File::Seek(int,int) (file.obj)
       0.252   0.0    69685.632  66.1        3 CreateSingleHull(void) (qbsp.obj)
       0.242   0.0    21910.583  20.8       48 SolidBSP(struct surface_s *,bool) (solidbsp.obj)
       0.237   0.0        0.237   0.0       15 File::Position(void) (file.obj)
       0.235   0.0      522.679   0.5        1 MergeAll(struct surface_s *) (merge.obj)
       0.228   0.0        0.228   0.0        2 File::Length(void) (file.obj)
       0.227   0.0        0.227   0.0        2 I_FloatTime(void) (cmdlib.obj)
       0.194   0.0        0.408   0.0       42 SetKeyValue(int,char *,char *) (map.obj)
       0.179   0.0      153.673   0.1        3 GatherNodeFaces(struct node_s *) (surfaces.obj)
       0.157   0.0       29.414   0.0        1 FinishBSPFile(void) (writebsp.obj)
       0.132   0.0    98264.104  93.2        1 CreateHulls(void) (qbsp.obj)
       0.107   0.0       72.762   0.1        4 MakeHeadnodePortals(struct node_s *) (portals.obj)
       0.074   0.0        0.074   0.0       45 ClearBounds(struct brushset_t *) (brush.obj)
       0.070   0.0        0.070   0.0        1 BeginBSPFile(void) (writebsp.obj)
       0.065   0.0        9.231   0.0       15 ExportDrawNodes(struct node_s *) (writebsp.obj)
       0.065   0.0     1952.988   1.9        2 WritePortalfile(struct node_s *) (portals.obj)
       0.053   0.0        0.053   0.0        1 tjunc(struct node_s *) (tjunc.obj)
       0.049   0.0       27.307   0.0        2 PrintMem(void) (util.obj)
       0.041   0.0      133.871   0.1        1 WAD::LoadTextures(struct dmiptexlump_t *) (wad.obj)
       0.028   0.0        0.028   0.0        1 _$E1 (globals.obj)
       0.022   0.0       56.548   0.1        1 WAD::InitWADList(char *) (wad.obj)
       0.021   0.0       23.954   0.0        1 WriteBSPFile(void) (bspfile.obj)
       0.020   0.0        2.449   0.0       15 CountNodes(struct node_s *) (writebsp.obj)
       0.020   0.0   105382.491 100.0        1 _main (qbsp.obj)
       0.014   0.0        4.665   0.0        1 PrintBSPFileSizes(void) (bspfile.obj)
       0.014   0.0        0.015   0.0        1 _$E4 (outside.obj)
       0.013   0.0        0.013   0.0        1 _$E4 (portals.obj)
       0.012   0.0     8204.872   7.8        4 PortalizeWorld(struct node_s *) (portals.obj)
       0.012   0.0   105340.184  99.9        1 ProcessFile(void) (qbsp.obj)
       0.011   0.0       91.792   0.1        2 File::LoadFile(char *,void * *,bool) (file.obj)
       0.011   0.0        0.011   0.0        7 StripExtension(char *) (cmdlib.obj)
       0.008   0.0        0.008   0.0        2 ParseOptions(char *) (qbsp.obj)
       0.004   0.0        0.005   0.0        1 WAD::AddAnimatingTextures(void) (wad.obj)
       0.003   0.0        0.093   0.0        1 WAD::~WAD(void) (wad.obj)
       0.003   0.0        0.003   0.0        6 File::~File(void) (file.obj)
       0.002   0.0        0.002   0.0        6 File::File(void) (file.obj)
       0.001   0.0        0.001   0.0        1 DefaultExtension(char *,char *) (cmdlib.obj)
       0.001   0.0        0.001   0.0        1 Parser::Parser(char *) (parser.obj)
       0.001   0.0        0.001   0.0        1 _$E1 (outside.obj)
       0.001   0.0        0.001   0.0        1 _$E1 (portals.obj)
       0.001   0.0        0.001   0.0        1 _$E2 (portals.obj)
       0.001   0.0        0.001   0.0        1 _$E2 (globals.obj)
       0.000   0.0        0.000   0.0        1 WAD::WAD(void) (wad.obj)
       0.000   0.0        0.000   0.0        1 _$E2 (outside.obj)
       0.000   0.0        0.000   0.0        1 _$E3 (portals.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)
