Lines Matching refs:m_csv_file
38 m_csv_file = fopen(m_name, "w"); in DISCRETE_START()
40 fprintf(m_csv_file, "\"MAME Discrete System Node Log\"\n"); in DISCRETE_START()
41 fprintf(m_csv_file, "\"Log Version\", 1.0\n"); in DISCRETE_START()
42 fprintf(m_csv_file, "\"Sample Rate\", %d\n", this->sample_rate()); in DISCRETE_START()
43 fprintf(m_csv_file, "\n"); in DISCRETE_START()
44 fprintf(m_csv_file, "\"Sample\""); in DISCRETE_START()
47 fprintf(m_csv_file, ", \"NODE_%2d\"", NODE_INDEX(this->input_node(node_num))); in DISCRETE_START()
49 fprintf(m_csv_file, "\n"); in DISCRETE_START()
55 if (m_csv_file) in DISCRETE_STOP()
56 fclose(m_csv_file); in DISCRETE_STOP()
64 fprintf(m_csv_file, "%s", string_format("%d", ++m_sample_num).c_str()); in DISCRETE_STEP()
67 fprintf(m_csv_file, ", %f", *this->m_input[nodenum]); in DISCRETE_STEP()
69 fprintf(m_csv_file, "\n"); in DISCRETE_STEP()