SWIgrld—grammar load
                                                    This event summarizes the loading of a grammar. The event is logged whenever a grammar is loaded, activated, or compiled.
In addition to the Tokens used for every event, this event has the following tokens:
| 
                                                                     Token  | 
                                                                
                                                                     Meaning  | 
                                                            
|---|---|
| 
                                                                     API  | 
                                                                
                                                                     The called Recognizer function, either: "SWIrecGrammarLoad" "SWIrecGrammarActivate", or "SWIrecGrammarCompile"  | 
                                                            
| 
                                                                     COMPILES  | 
                                                                
                                                                     Number of "real" compiles from source or old (OSR 1.n) binary files. (Total count of loaded grammars that required compilation; grammars already pre-compiled with the sgc 2.0 compiler are excluded.)  | 
                                                            
| 
                                                                     DISKHITS  | 
                                                                
                                                                     Disk cache hits for this load. (The number of loaded grammars that were already in the disk cache.)  | 
                                                            
| 
                                                                     DISKMISS  | 
                                                                
                                                                     Disk cache misses for this load. (The number of loaded grammars that were not already available in the disk cache.)  | 
                                                            
| 
                                                                     FETCHES  | 
                                                                
                                                                     Number of fetches needed to load the grammar.  | 
                                                            
| 
                                                                     GCCPU  | 
                                                                
                                                                     Total CPU milliseconds used for grammar compilation.  | 
                                                            
| 
                                                                     GCTIME  | 
                                                                
                                                                     Total clock-time milliseconds used for grammar compilation.  | 
                                                            
| 
                                                                     IFCPU  | 
                                                                
                                                                     Total CPU milliseconds to fetch the grammar(s) from inet.  | 
                                                            
| 
                                                                     IFTIME  | 
                                                                
                                                                     Total clock-time milliseconds to fetch the grammar(s) from inet.  | 
                                                            
| 
                                                                     IFBYTES  | 
                                                                
                                                                     Total bytes fetched (or re-fetched) from inet or the disk cache.  | 
                                                            
| 
                                                                     LDCPU  | 
                                                                
                                                                     Total CPU milliseconds used for the API call.  | 
                                                            
| 
                                                                     LDTIME  | 
                                                                
                                                                     Total clock-time milliseconds used for the API call.  | 
                                                            
| 
                                                                     MEMMISS  | 
                                                                
                                                                     Memory cache misses for this load. (The number of loaded grammars that were not already available in the memory cache.)  | 
                                                            
| 
                                                                     MEMHITS  | 
                                                                
                                                                     Memory cache hits for this load. (The number of loaded grammars that were already in the memory cache.)  | 
                                                            
| 
                                                                     PROPS  | 
                                                                
                                                                     Any properties supplied in for the grammar.  | 
                                                            
| 
                                                                     RC  | 
                                                                
                                                                     The return code from the API call.  | 
                                                            
| 
                                                                     TYPE  | 
                                                                
                                                                     The data type of the grammar.  | 
                                                            
| 
                                                                     URI  | 
                                                                
                                                                     The grammar URI (token not written if grammar is not a URI).  | 
                                                            
| 
                                                                     WGHT  | 
                                                                
                                                                     Activation weight of the grammar.  | 
                                                            
Example:
EVNT=SWIgrld|API=SWIrecGrammarLoad|TYPE=uri/2.0|URI=builtin:grammar/digits|PROPS=inet.maxage=31536000;inet.timeoutDownload=10000;inet.timeoutIO=10000;inet.timeoutOpen=10000;inet.urlBase=|FETCHES=0|MEMHITS=1|MEMMISS=0|DISKHITS=0|DISKMISS=0|LDCPU=0|LDTIME=1|GCCPU=0|GCTIME=0|IFCPU=0|IFTIME=0|IFBYTES=0|COMPILES=0|RC=0|UCPU=107320|SCPU=2950|SECURE=encrypt-sensitive