Searched refs:progress_reader (Results 1 – 10 of 10) sorted by relevance
122 g_mutex_clear(&ngspice->priv->progress_reader.progress_mutex); in ngspice_finalize()359 g_mutex_lock(&ngspice->priv->progress_reader.progress_mutex); in reader_progress()360 *d = ngspice->priv->progress_reader.progress; in reader_progress()361 g_mutex_unlock(&ngspice->priv->progress_reader.progress_mutex); in reader_progress()436 klass->progress_reader = reader_progress; in ngspice_interface_init()453 self->priv->progress_reader.progress = 0.0; in ngspice_instance_init()454 self->priv->progress_reader.time = g_get_monotonic_time(); in ngspice_instance_init()455 g_mutex_init(&self->priv->progress_reader.progress_mutex); in ngspice_instance_init()
83 ProgressResources *progress_reader; member110 ProgressResources progress_reader; member
529 ProgressResources *progress_reader = resources->progress_reader; in ngspice_watcher_build_and_launch() local593 ngspice_worker_resources->progress_reader = progress_reader; in ngspice_watcher_build_and_launch()698 resources->progress_reader = &ngspice->priv->progress_reader; in ngspice_watcher_build_and_launch_resources_new()
131 g_return_if_fail(OREGANO_ENGINE_GET_CLASS(self)->progress_reader != NULL); in oregano_engine_get_progress_reader()132 OREGANO_ENGINE_GET_CLASS (self)->progress_reader (self, p); in oregano_engine_get_progress_reader()
560 ProgressResources *progress_reader = resources->progress_reader; in parse_transient_analysis_resources() local574 g_mutex_lock(&progress_reader->progress_mutex); in parse_transient_analysis_resources()575 progress_reader->progress = 0; in parse_transient_analysis_resources()576 progress_reader->time = g_get_monotonic_time(); in parse_transient_analysis_resources()577 g_mutex_unlock(&progress_reader->progress_mutex); in parse_transient_analysis_resources()625 g_mutex_lock(&progress_reader->progress_mutex); in parse_transient_analysis_resources()626 …progress_reader->progress = (double)count_of_variables_already_finished / (double)no_of_variables + in parse_transient_analysis_resources()629 progress_reader->time = g_get_monotonic_time(); in parse_transient_analysis_resources()630 g_mutex_unlock(&progress_reader->progress_mutex); in parse_transient_analysis_resources()
49 ProgressResources* progress_reader;//out member
54 void (*progress_reader)(OreganoEngine *engine, double *p); member
65 GtkProgressBar *progress_reader; member149 s->progress_reader = GTK_PROGRESS_BAR (w); in simulation_show_progress_bar()150 gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (s->progress_reader), 0.0); in simulation_show_progress_bar()183 gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (s->progress_reader), p); in progress_bar_timeout_cb()201 gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (s->progress_reader), 1.0); in engine_done_cb()
85 resources->progress_reader = &ngspice->priv->progress_reader; in test_engine_ngspice_resources_new()
166 let progress_reader: Arc<Mutex<dyn ProgressReporter>> = progress_bar; in invoke() localVariable173 Some(progress_reader) in invoke()