<commit_before>package org.nybatis.core.util;

public class StopWatcher {

	private long initTime = System.nanoTime();

	public long elapsedNanoSeconds() {
		return System.nanoTime() - initTime;
	}

	public long elapsedMiliSeconds() {
		return elapsedNanoSeconds() / 1_000_000;
	}

	public double elapsedSeconds() {
		return elapsedNanoSeconds() / 1_000_000_000.0;
	}

	public void reset() {
	    initTime = System.nanoTime();
	}
}<commit_msg>return self instance at StopWatcher.reset.<commit_after>package org.nybatis.core.util;

public class StopWatcher {

	private long initTime = System.nanoTime();

	public long elapsedNanoSeconds() {
		return System.nanoTime() - initTime;
	}

	public long elapsedMiliSeconds() {
		return elapsedNanoSeconds() / 1_000_000;
	}

	public double elapsedSeconds() {
		return elapsedNanoSeconds() / 1_000_000_000.0;
	}

	public StopWatcher reset() {
	    initTime = System.nanoTime();
	    return this;
	}
}
{'fraction_non_alphanumeric': 0.1074468085106383, 'fraction_numerical': 0.03829787234042553, 'mean_word_length': 4.286516853932584, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3627326', 'n_tokens_mistral': 363, 'n_tokens_neox': 308, 'n_words': 70}