public final void setAutoCommit(boolean a0) throws java.sql.SQLException {
    this.inner.setAutoCommit(a0);

    TraceContext ctx = TraceContextManager.getLocalContext();
    if (ctx == null) return;

    MethodStep p = new MethodStep();
    p.hash = a0 ? HASH_AUTO_COMMIT_TRUE : HASH_AUTO_COMMIT_FALSE;
    p.start_time = (int) (System.currentTimeMillis() - ctx.startTime);
    if (ctx.profile_thread_cputime) {
      p.start_cpu = (int) (SysJMX.getCurrentThreadCPU() - ctx.startCpu);
    }

    ctx.profile.add(p);
  }
  public final void commit() throws java.sql.SQLException {
    long stime = System.currentTimeMillis();
    this.inner.commit();
    long etime = System.currentTimeMillis();

    TraceContext ctx = TraceContextManager.getLocalContext();
    if (ctx == null) return;

    MethodStep p = new MethodStep();
    p.hash = HASH_COMMIT;
    p.start_time = (int) (stime - ctx.startTime);
    if (ctx.profile_thread_cputime) {
      p.start_cpu = (int) (SysJMX.getCurrentThreadCPU() - ctx.startCpu);
    }
    p.elapsed = (int) (etime - stime);
    ctx.profile.add(p);
  }