| 205 | } |
| 206 | |
| 207 | void OpBase_ToString |
| 208 | ( |
| 209 | const OpBase *op, |
| 210 | sds *buff |
| 211 | ) { |
| 212 | int bytes_written = 0; |
| 213 | |
| 214 | if(op->toString) op->toString(op, buff); |
| 215 | else *buff = sdscatprintf(*buff, "%s", op->name); |
| 216 | |
| 217 | if(op->stats) _OpBase_StatsToString(op, buff); |
| 218 | } |
| 219 | |
| 220 | Record OpBase_Profile |
| 221 | ( |
no test coverage detected