| 
									
										
										
										
											2021-03-27 14:24:07 +08:00
										 |  |  | // Code generated by "stringer -type=osMetric -trimprefix=osMetric os-instrumented.go"; DO NOT EDIT.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | package cmd | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import "strconv" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | func _() { | 
					
						
							|  |  |  | 	// An "invalid array index" compiler error signifies that the constant values have changed.
 | 
					
						
							|  |  |  | 	// Re-run the stringer command to generate them again.
 | 
					
						
							|  |  |  | 	var x [1]struct{} | 
					
						
							|  |  |  | 	_ = x[osMetricRemoveAll-0] | 
					
						
							|  |  |  | 	_ = x[osMetricMkdirAll-1] | 
					
						
							|  |  |  | 	_ = x[osMetricRename-2] | 
					
						
							|  |  |  | 	_ = x[osMetricOpenFile-3] | 
					
						
							|  |  |  | 	_ = x[osMetricOpen-4] | 
					
						
							|  |  |  | 	_ = x[osMetricOpenFileDirectIO-5] | 
					
						
							|  |  |  | 	_ = x[osMetricLstat-6] | 
					
						
							|  |  |  | 	_ = x[osMetricRemove-7] | 
					
						
							|  |  |  | 	_ = x[osMetricStat-8] | 
					
						
							| 
									
										
										
										
											2021-03-29 23:07:23 +08:00
										 |  |  | 	_ = x[osMetricAccess-9] | 
					
						
							|  |  |  | 	_ = x[osMetricLast-10] | 
					
						
							| 
									
										
										
										
											2021-03-27 14:24:07 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-03-29 23:07:23 +08:00
										 |  |  | const _osMetric_name = "RemoveAllMkdirAllRenameOpenFileOpenOpenFileDirectIOLstatRemoveStatAccessLast" | 
					
						
							| 
									
										
										
										
											2021-03-27 14:24:07 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-03-29 23:07:23 +08:00
										 |  |  | var _osMetric_index = [...]uint8{0, 9, 17, 23, 31, 35, 51, 56, 62, 66, 72, 76} | 
					
						
							| 
									
										
										
										
											2021-03-27 14:24:07 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | func (i osMetric) String() string { | 
					
						
							|  |  |  | 	if i >= osMetric(len(_osMetric_index)-1) { | 
					
						
							|  |  |  | 		return "osMetric(" + strconv.FormatInt(int64(i), 10) + ")" | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | 	return _osMetric_name[_osMetric_index[i]:_osMetric_index[i+1]] | 
					
						
							|  |  |  | } |